SWDEV-318349 - Fix hipGraphKernelNode and hipGraphMemcpyNode

For hipGraphKernelNode, remove func_;
and reorganize functions to naturely support mGPU;
For hipGraphMemcpyNode, make EnqueueCommands() support different
queues' sync
Change-Id: I22708923f454adf4456ff99d25559daffed8c20d
This commit is contained in:
Tao Sang
2022-09-01 23:05:16 -04:00
committed by Tao Sang
parent aeeab1c975
commit f83ba8cd23
3 changed files with 110 additions and 155 deletions
+2 -1
View File
@@ -817,6 +817,7 @@ hipError_t hipGraphExec::Run(hipStream_t stream) {
endCommand->enqueue();
endCommand->release();
}
if (stream == nullptr) queue->finish();
ResetQueueIndex();
return hipSuccess;
return status;
}