mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 18:06:32 +08:00
Disable cross-device indirect access
Change-Id: I57655abfc02785dfd68384a1546ee4cfdbea938a Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
351af1d3de
commit
8113fafe53
@@ -65,8 +65,13 @@ ze_result_t CommandListCoreFamily<gfxCoreFamily>::appendLaunchKernelWithParams(z
|
||||
}
|
||||
|
||||
NEO::EncodeDispatchKernel<GfxFamily>::encode(commandContainer,
|
||||
reinterpret_cast<const void *>(pThreadGroupDimensions), isIndirect, isPredicate, kernel,
|
||||
0, device->getNEODevice(), commandListPreemptionMode);
|
||||
reinterpret_cast<const void *>(pThreadGroupDimensions),
|
||||
isIndirect,
|
||||
isPredicate,
|
||||
kernel,
|
||||
0,
|
||||
device->getNEODevice(),
|
||||
commandListPreemptionMode);
|
||||
|
||||
appendSignalEventPostWalker(hEvent);
|
||||
|
||||
|
||||
@@ -121,7 +121,8 @@ ze_result_t CommandQueueHw<gfxCoreFamily>::executeCommandLists(
|
||||
UnifiedMemoryControls unifiedMemoryControls = commandList->getUnifiedMemoryControls();
|
||||
|
||||
auto svmAllocsManager = device->getDriverHandle()->getSvmAllocsManager();
|
||||
svmAllocsManager->addInternalAllocationsToResidencyContainer(commandList->commandContainer.getResidencyContainer(),
|
||||
svmAllocsManager->addInternalAllocationsToResidencyContainer(neoDevice->getRootDeviceIndex(),
|
||||
commandList->commandContainer.getResidencyContainer(),
|
||||
unifiedMemoryControls.generateMask());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user