Skip iHipWaitActiveStreams if stream is NonBlocking
SWDEV-234484
Change-Id: I279bdc8485d8218e0aaa89d094c08a84f002a608
[ROCm/hip commit: f0b49d0560]
이 커밋은 다음에 포함됨:
1 부모
9f0b428aa4
커밋
d6f0c4fc41
1 파일이 변경됨
+3
-1
@@ -84,7 +84,9 @@ amd::HostQueue* getQueue(hipStream_t stream) {
|
||||
} else {
|
||||
constexpr bool WaitNullStreamOnly = true;
|
||||
amd::HostQueue* queue = reinterpret_cast<hip::Stream*>(stream)->asHostQueue();
|
||||
iHipWaitActiveStreams(queue, WaitNullStreamOnly);
|
||||
if (!(reinterpret_cast<hip::Stream*>(stream)->Flags() & hipStreamNonBlocking)) {
|
||||
iHipWaitActiveStreams(queue, WaitNullStreamOnly);
|
||||
}
|
||||
return queue;
|
||||
}
|
||||
}
|
||||
|
||||
새 이슈에서 참조
사용자 차단