fix: add limitations for setting gmm flag Cacheable

- move isCachingOnCpuAvailable to product helper
- isCachingOnCpuAvailable should return false on mtl
- if wsl, skip checking method from product helper

Related-To: NEO-7194
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com>
This commit is contained in:
Cencelewska, Katarzyna
2023-05-29 11:11:44 +00:00
committed by Compute-Runtime-Automation
parent 6f21d133cf
commit d2436a8231
19 changed files with 55 additions and 35 deletions

View File

@@ -791,4 +791,8 @@ bool ProductHelperHw<gfxProduct>::disableL3CacheForDebug(const HardwareInfo &) c
return false;
}
template <PRODUCT_FAMILY gfxProduct>
bool ProductHelperHw<gfxProduct>::isCachingOnCpuAvailable() const {
return true;
}
} // namespace NEO