SWDEV-555484 - Invalidate capturing stream only for null/legacy stream. (#1032)
This commit is contained in:
@@ -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() \
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user