remove usage of HIP_RETURN in internal function (#1359)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
f5d901f016
Коммит
f8e3858659
@@ -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;
|
||||
|
||||
Ссылка в новой задаче
Block a user