From e9dac39102606ac6f7ab2778f74745e27841fb6c Mon Sep 17 00:00:00 2001 From: Rakesh Roy <137397847+rakesroy@users.noreply.github.com> Date: Fri, 24 Oct 2025 21:33:25 +0530 Subject: [PATCH] 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 99613f100931f88a621442499baf92cc89a8f43f. * 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 0647cf1d28bdeeda8ff440c47e27d7cd400b3e97. --- projects/clr/hipamd/src/hip_internal.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/projects/clr/hipamd/src/hip_internal.hpp b/projects/clr/hipamd/src/hip_internal.hpp index c0d00cf52c..e533c7d4e3 100644 --- a/projects/clr/hipamd/src/hip_internal.hpp +++ b/projects/clr/hipamd/src/hip_internal.hpp @@ -256,8 +256,6 @@ const char* ihipGetErrorName(hipError_t hip_error); reinterpret_cast(stream)->GetCaptureStatus() == \ hipStreamCaptureStatusInvalidated) { \ return hipErrorStreamCaptureInvalidated; \ - } else if (stream == nullptr || stream == hipStreamLegacy) { \ - CHECK_STREAM_CAPTURING() \ } #define PER_THREAD_DEFAULT_STREAM(stream) \