mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
feature: Enable use KMD calls in prefetch APIs
If applications call Prefetch APIs, like zeCommandListAppendMemoryPrefetch and clEnqueueMigrateMemINTEL, then enable the use of KMD calls by default. Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a81e2ce9d5
commit
55952d33df
@@ -4198,7 +4198,7 @@ CL_API_ENTRY cl_int CL_API_CALL clEnqueueMigrateMemINTEL(
|
||||
pEvent->setCmdType(CL_COMMAND_MIGRATEMEM_INTEL);
|
||||
}
|
||||
|
||||
if (NEO::DebugManager.flags.AppendMemoryPrefetchForKmdMigratedSharedAllocations.get() > 0) {
|
||||
if (NEO::DebugManager.flags.AppendMemoryPrefetchForKmdMigratedSharedAllocations.get() == true) {
|
||||
auto pSvmAllocMgr = pCommandQueue->getContext().getSVMAllocsManager();
|
||||
UNRECOVERABLE_IF(pSvmAllocMgr == nullptr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user