SWDEV-366974 - add proper error
- Null stream correct error when blocing stream is being captured Signed-off-by: sdashmiz <shadi.dashmiz@amd.com> Change-Id: I0d902a4f4ef02736a6db60ba7bffa7c20011bc84
このコミットが含まれているのは:
@@ -807,6 +807,9 @@ hipError_t hipStreamIsCapturing_common(hipStream_t stream, hipStreamCaptureStatu
|
||||
if (pCaptureStatus == nullptr || !hip::isValid(stream)) {
|
||||
return hipErrorInvalidValue;
|
||||
}
|
||||
if (hip::Stream::StreamCaptureBlocking() == true && stream == nullptr) {
|
||||
return hipErrorStreamCaptureImplicit;
|
||||
}
|
||||
if (stream == nullptr) {
|
||||
*pCaptureStatus = hipStreamCaptureStatusNone;
|
||||
} else {
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする