SWDEV-326798 - Revert "SWDEV-326798 - Changes in stream sync behavior"
This reverts commit 51adec2730.
Reason for revert: HIP tests on windows fails
Change-Id: I795ed19d76a41e2fd9971414cefa5bd3be45d4bc
Этот коммит содержится в:
@@ -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) {
|
||||
|
||||
Ссылка в новой задаче
Block a user