SWDEV-555484 - Invalidate capturing stream only for null/legacy stream. (#1032)

This commit is contained in:
Jaydeep
2025-09-19 14:31:17 +05:30
committed by GitHub
parent 470b7d7ccd
commit 99613f1009
+1 -1
View File
@@ -256,7 +256,7 @@ const char* ihipGetErrorName(hipError_t hip_error);
reinterpret_cast<hip::Stream*>(stream)->GetCaptureStatus() == \
hipStreamCaptureStatusInvalidated) { \
return hipErrorStreamCaptureInvalidated; \
} else { \
} else if (stream == nullptr || stream == hipStreamLegacy) { \
CHECK_STREAM_CAPTURING() \
}