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 authored and Tao Sang committed 2022-10-07 09:07:56 -04:00
1 parent aeeab1c975
commit f83ba8cd23
3 files changed
+110 -155

No files matched your search

+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;
}