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) \