fix: disable usm compression on linux

Related-To: NEO-12047

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2024-07-16 13:11:39 +00:00
committed by Compute-Runtime-Automation
parent 09b41d8146
commit b03ac6abd1
6 changed files with 24 additions and 3 deletions

View File

@@ -1162,4 +1162,10 @@ uint64_t MemoryManager::adjustToggleBitFlagForGpuVa(AllocationType inputAllocati
return gpuAddress;
}
bool MemoryManager::usmCompressionSupported(Device *device) {
auto &hwInfo = device->getHardwareInfo();
auto &gfxCoreHelper = device->getGfxCoreHelper();
return gfxCoreHelper.usmCompressionSupported(hwInfo);
}
} // namespace NEO