fix: disable L0 USM pool on dg2, ats

Related-To: NEO-15167, HSD-18042525630

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
Dominik Dabek
2025-06-09 10:24:16 +00:00
committed by Compute-Runtime-Automation
parent c7893fb3ed
commit 2174389c4e
2 changed files with 23 additions and 0 deletions

View File

@@ -6,6 +6,7 @@
*/
#include "shared/source/command_stream/command_stream_receiver.h"
#include "shared/source/helpers/api_specific_config.h"
#include "shared/source/helpers/gfx_core_helper.h"
#include "shared/source/helpers/local_memory_access_modes.h"
#include "shared/source/memory_manager/memory_manager.h"
@@ -249,4 +250,9 @@ bool ProductHelperHw<gfxProduct>::isCompressionForbidden(const HardwareInfo &hwI
return isCompressionForbiddenCommon(false);
}
template <>
bool ProductHelperHw<gfxProduct>::isDeviceUsmPoolAllocatorSupported() const {
return ApiSpecificConfig::OCL == ApiSpecificConfig::getApiType();
}
} // namespace NEO