mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 00:58:39 +08:00
refactor: reuse tag allocation for host function data
Related-To: NEO-14577 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
e3e13d38f7
commit
8757ecf2f7
@@ -197,8 +197,7 @@ void CommandQueueHw<gfxCoreFamily>::patchCommands(CommandList &commandList, uint
|
||||
break;
|
||||
}
|
||||
case CommandToPatch::HostFunctionEntry:
|
||||
csr->ensureHostFunctionDataInitialization();
|
||||
csr->makeResidentHostFunctionAllocation();
|
||||
csr->ensureHostFunctionWorkerStarted();
|
||||
csr->signalHostFunctionWorker();
|
||||
NEO::HostFunctionHelper::programHostFunctionAddress<GfxFamily>(nullptr, commandToPatch.pCommand, csr->getHostFunctionData(), commandToPatch.baseAddress);
|
||||
break;
|
||||
|
||||
@@ -285,8 +285,7 @@ void CommandQueueHw<gfxCoreFamily>::patchCommands(CommandList &commandList, uint
|
||||
break;
|
||||
}
|
||||
case CommandToPatch::HostFunctionEntry:
|
||||
csr->ensureHostFunctionDataInitialization();
|
||||
csr->makeResidentHostFunctionAllocation();
|
||||
csr->ensureHostFunctionWorkerStarted();
|
||||
csr->signalHostFunctionWorker();
|
||||
NEO::HostFunctionHelper::programHostFunctionAddress<GfxFamily>(nullptr, commandToPatch.pCommand, csr->getHostFunctionData(), commandToPatch.baseAddress);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user