remove usage of HIP_RETURN in internal function (#1359)

Этот коммит содержится в:
Ajay GunaShekar
2025-10-27 15:37:46 -07:00
коммит произвёл GitHub
родитель f5d901f016
Коммит f8e3858659
+1 -1
Просмотреть файл
@@ -547,7 +547,7 @@ hipError_t hipStreamQuery_common(hipStream_t stream) {
if (stream != nullptr) {
// If still capturing return error
if (hip::Stream::StreamCaptureOngoing(stream) == true) {
HIP_RETURN(hipErrorStreamCaptureUnsupported);
return hipErrorStreamCaptureUnsupported;
}
}
bool wait = (stream == nullptr) ? true : false;