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

Change-Id: Idde30a8bfe97a525bd9f9fb50698a5cb14b798fc
Этот коммит содержится в:
Ioannis Assiouras committed 2023-02-24 10:42:46 +00:00
1 родитель ea5838320e
Коммит 06927fd3c1
4 files changed
+9 -19

No files matched your search

+1 -1
Просмотреть файл
@@ -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;