performance: non-usm copy through staging buffers

Related-To: NEO-11501

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2024-06-24 17:01:44 +00:00
committed by Compute-Runtime-Automation
parent 659075ffe5
commit 29e3eb512c
21 changed files with 738 additions and 12 deletions

View File

@@ -237,6 +237,7 @@ class ProductHelper {
virtual size_t getMaxFillPaternSizeForCopyEngine() const = 0;
virtual bool isAvailableExtendedScratch() const = 0;
virtual std::optional<bool> isCoherentAllocation(uint64_t patIndex) const = 0;
virtual bool isStagingBuffersEnabled() const = 0;
virtual ~ProductHelper() = default;

View File

@@ -897,4 +897,10 @@ template <PRODUCT_FAMILY gfxProduct>
bool ProductHelperHw<gfxProduct>::isAvailableExtendedScratch() const {
return false;
}
template <PRODUCT_FAMILY gfxProduct>
bool ProductHelperHw<gfxProduct>::isStagingBuffersEnabled() const {
return false;
}
} // namespace NEO

View File

@@ -182,6 +182,7 @@ class ProductHelperHw : public ProductHelper {
size_t getMaxFillPaternSizeForCopyEngine() const override;
bool isAvailableExtendedScratch() const override;
std::optional<bool> isCoherentAllocation(uint64_t patIndex) const override;
bool isStagingBuffersEnabled() const override;
~ProductHelperHw() override = default;