mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
fix: Add texture cache flush after kernels writing to images on imm cmdlists
- add `hasImageWriteArg` flag to KernelDescriptor, based on image access qualifier - add `isPostImageWriteFlushRequired` method to productHelper, to require cache flush only on selected platforms - if possible, add the `textureCacheInvalidationEnable` arg to the existing PC, otherwise add a new PC Related-To: NEO-13427, HSD-18041321008 Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5a2a792c34
commit
ee769f5983
@@ -201,6 +201,7 @@ class ProductHelper {
|
||||
virtual uint32_t getInternalHeapsPreallocated() const = 0;
|
||||
virtual bool overrideAllocationCacheable(const AllocationData &allocationData) const = 0;
|
||||
virtual bool is2MBLocalMemAlignmentEnabled() const = 0;
|
||||
virtual bool isPostImageWriteFlushRequired() const = 0;
|
||||
|
||||
virtual bool getFrontEndPropertyScratchSizeSupport() const = 0;
|
||||
virtual bool getFrontEndPropertyPrivateScratchSizeSupport() const = 0;
|
||||
|
||||
Reference in New Issue
Block a user