fix: enable usm device pool api wise

For OCL usm device pool enabled on MTL, LNL, PTL
For L0 usm device pool enabled on PTL, disabled on MTL, LNL

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
Dominik Dabek
2025-05-30 15:24:22 +00:00
committed by Compute-Runtime-Automation
parent 5c2043b400
commit 6d8188bc56
5 changed files with 62 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/memory_manager/allocation_properties.h"
#include "shared/source/memory_manager/allocation_type.h"
@@ -90,4 +91,8 @@ bool ProductHelperHw<gfxProduct>::isTile64With3DSurfaceOnBCSSupported(const Hard
return false;
}
template <>
bool ProductHelperHw<gfxProduct>::isDeviceUsmPoolAllocatorSupported() const {
return ApiSpecificConfig::OCL == ApiSpecificConfig::getApiType();
}
} // namespace NEO