remove usage of HIP_RETURN in internal function (#1359)

This commit is contained in:
Ajay GunaShekar
2025-10-27 15:37:46 -07:00
committato da GitHub
parent f5d901f016
commit f8e3858659
+1 -1
Vedi File
@@ -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;