SWDEV-430437,SWDEV-434702 - Split the streamset per device

Change-Id: If1bcca45825c9899462bb95ed6f637f5af806cc8
Цей коміт міститься в:
Ioannis Assiouras
2024-02-06 00:34:35 +00:00
джерело 1239309c90
коміт be2bdabb76
6 змінених файлів з 175 додано та 144 видалено
+1 -1
Переглянути файл
@@ -95,7 +95,7 @@ hip::Stream* getStream(hipStream_t stream, bool wait) {
hip::Stream* hip_stream = reinterpret_cast<hip::Stream*>(stream);
if (wait && !(hip_stream->Flags() & hipStreamNonBlocking)) {
constexpr bool WaitNullStreamOnly = true;
iHipWaitActiveStreams(hip_stream, WaitNullStreamOnly);
hip_stream->GetDevice()->WaitActiveStreams(hip_stream, WaitNullStreamOnly);
}
return hip_stream;
}