SWDEV-469422 - Avoid using of hipStream_t in internal methods (#69)
Change-Id: Ifd5362f371c846a88241927383cb95cf046548ef
[ROCm/clr commit: fb92683d86]
此提交包含在:
1 父節點
0eb2e5e8f2
當前提交
ff69bcc903
10 file changed
+35
-46
No files matched your search
@@ -682,11 +682,9 @@ bool Graph::RunNodes(
|
||||
}
|
||||
|
||||
// ================================================================================================
|
||||
hipError_t GraphExec::Run(hipStream_t graph_launch_stream) {
|
||||
hipError_t GraphExec::Run(hip::Stream* launch_stream) {
|
||||
hipError_t status = hipSuccess;
|
||||
|
||||
hip::Stream* launch_stream = hip::getStream(graph_launch_stream);
|
||||
|
||||
if (flags_ & hipGraphInstantiateFlagAutoFreeOnLaunch) {
|
||||
if (!topoOrder_.empty()) {
|
||||
topoOrder_[0]->GetParentGraph()->FreeAllMemory(launch_stream);
|
||||
|
||||
Reference in new issue
封鎖使用者