mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
feature: signaling in-order dependency counter on skl_and_later platforms
Related-To: NEO-7966 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
ff6f64d9be
commit
87579e9bcf
@@ -240,6 +240,17 @@ ze_result_t CommandListCoreFamily<gfxCoreFamily>::appendLaunchKernelWithParams(K
|
||||
event->setKernelForPrintf(kernel);
|
||||
}
|
||||
|
||||
if (this->inOrderExecutionEnabled && !launchParams.isKernelSplitOperation) {
|
||||
NEO::PipeControlArgs args;
|
||||
uint64_t counterAddress = this->inOrderDependencyCounterAllocation->getGpuAddress() + this->inOrderAllocationOffset;
|
||||
|
||||
NEO::MemorySynchronizationCommands<GfxFamily>::addSingleBarrier(*commandContainer.getCommandStream(),
|
||||
NEO::PostSyncMode::ImmediateData,
|
||||
counterAddress,
|
||||
this->inOrderDependencyCounter + 1,
|
||||
args);
|
||||
}
|
||||
|
||||
return ZE_RESULT_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user