SWDEV-560065 - Revert changes to align error code with Cuda when stream capture is tried on Legacy stream (#1337)

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

This reverts commit 99613f1009.

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

This reverts commit 0647cf1d28.
Bu işleme şunda yer alıyor:
Rakesh Roy
2025-10-24 21:33:25 +05:30
işlemeyi yapan: GitHub
ebeveyn 8806be162c
işleme e9dac39102
-2
Dosyayı Görüntüle
@@ -256,8 +256,6 @@ const char* ihipGetErrorName(hipError_t hip_error);
reinterpret_cast<hip::Stream*>(stream)->GetCaptureStatus() == \
hipStreamCaptureStatusInvalidated) { \
return hipErrorStreamCaptureInvalidated; \
} else if (stream == nullptr || stream == hipStreamLegacy) { \
CHECK_STREAM_CAPTURING() \
}
#define PER_THREAD_DEFAULT_STREAM(stream) \