diff --git a/projects/clr/hipamd/src/hip_graph_internal.cpp b/projects/clr/hipamd/src/hip_graph_internal.cpp index 291aabda89..8a40964c05 100644 --- a/projects/clr/hipamd/src/hip_graph_internal.cpp +++ b/projects/clr/hipamd/src/hip_graph_internal.cpp @@ -579,7 +579,7 @@ void UpdateStream(std::vector>& parallelLists, hip::Stream* st } } -hipError_t EnqueueGraphWithSingleList(std::vector topoOrder, hip::Stream* hip_stream, +hipError_t EnqueueGraphWithSingleList(std::vector& topoOrder, hip::Stream* hip_stream, hip::GraphExec* graphExec) { // Accumulate command tracks all the AQL packet batch that we submit to the HW. For now // we track only kernel nodes. diff --git a/projects/clr/hipamd/src/hip_graph_internal.hpp b/projects/clr/hipamd/src/hip_graph_internal.hpp index 1728112516..60a75d429d 100644 --- a/projects/clr/hipamd/src/hip_graph_internal.hpp +++ b/projects/clr/hipamd/src/hip_graph_internal.hpp @@ -52,7 +52,7 @@ hipError_t FillCommands(std::vector>& parallelLists, amd::Command*& graphEnd, hip::Stream* stream); void UpdateStream(std::vector>& parallelLists, hip::Stream* stream, GraphExec* ptr); -hipError_t EnqueueGraphWithSingleList(std::vector topoOrder, hip::Stream* hip_stream, +hipError_t EnqueueGraphWithSingleList(std::vector& topoOrder, hip::Stream* hip_stream, hip::GraphExec* graphExec = nullptr); struct UserObject : public amd::ReferenceCountedObject { typedef void (*UserCallbackDestructor)(void* data);