SWDEV-326798 - Revert "SWDEV-326798 - Changes in stream sync behavior"
This reverts commit1932e88970. Reason for revert: HIP tests on windows fails Change-Id: I795ed19d76a41e2fd9971414cefa5bd3be45d4bc [ROCm/clr commit:08c8972d97]
Esse commit está contido em:
1 pai
1932e88970
commit
02a3fcff26
4 files changed
+14
-19
No files matched your search
@@ -420,9 +420,8 @@ hipError_t hipStreamSynchronize_common(hipStream_t stream) {
|
||||
HIP_RETURN(hipErrorStreamCaptureUnsupported);
|
||||
}
|
||||
}
|
||||
bool wait = (stream == nullptr) ? true : false;
|
||||
// Wait for the current host queue
|
||||
hip::getStream(stream, wait)->finish();
|
||||
hip::getStream(stream)->finish();
|
||||
return hipSuccess;
|
||||
}
|
||||
|
||||
@@ -531,9 +530,7 @@ hipError_t hipStreamQuery_common(hipStream_t stream) {
|
||||
HIP_RETURN(hipErrorStreamCaptureUnsupported);
|
||||
}
|
||||
}
|
||||
|
||||
bool wait = (stream == nullptr) ? true : false;
|
||||
hip::Stream* hip_stream = hip::getStream(stream, wait);
|
||||
hip::Stream* hip_stream = hip::getStream(stream);
|
||||
|
||||
amd::Command* command = hip_stream->getLastQueuedCommand(true);
|
||||
if (command == nullptr) {
|
||||
|
||||
Reference in new issue
Bloquear um usuário