SWDEV-542700 - Return an error if stream capture is attempted on the null stream while a stream capture is active. (#450)

Co-authored-by: Anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com>
Co-authored-by: systems-assistant[bot] <systems-assistant[bot]@users.noreply.github.com>
Co-authored-by: Godavarthy Surya, Anusha <agodavar@amd.com>
This commit is contained in:
systems-assistant[bot]
2025-09-11 16:57:22 +05:30
committed by GitHub
parent a141df3518
commit 0647cf1d28
+2
View File
@@ -256,6 +256,8 @@ const char* ihipGetErrorName(hipError_t hip_error);
reinterpret_cast<hip::Stream*>(stream)->GetCaptureStatus() == \
hipStreamCaptureStatusInvalidated) { \
return hipErrorStreamCaptureInvalidated; \
} else { \
CHECK_STREAM_CAPTURING() \
}
#define PER_THREAD_DEFAULT_STREAM(stream) \