SWDEV-381402 - Remove unused getNullStream() from device. Make stream destructor private.

Change-Id: Idde30a8bfe97a525bd9f9fb50698a5cb14b798fc


[ROCm/clr commit: 06927fd3c1]
This commit is contained in:
Ioannis Assiouras committed 2023-02-24 10:42:46 +00:00
1 parent 4c50e4a6ec
commit ea7d5037b9
4 files changed
+9 -19

No files matched your search

@@ -569,7 +569,7 @@ hipError_t hipGraphExec::Run(hipStream_t stream) {
levelOrder_[0]->GetParentGraph()->FreeAllMemory();
}
}
auto hip_stream = (stream == nullptr) ? hip::getCurrentDevice()->GetNullStream()
auto hip_stream = (stream == nullptr) ? hip::getCurrentDevice()->NullStream()
: reinterpret_cast<hip::Stream*>(stream);
UpdateStream(parallelLists_, hip_stream, this);
std::vector<amd::Command*> rootCommands;