SWDEV-429053 - Add more check for hipStreamLegacy
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Iaf802372b160b09e5e8451074af1731e4f1d410a
[ROCm/clr commit: 7257f56c60]
이 커밋은 다음에 포함됨:
1 부모
386c8a80b0
커밋
0678768fd3
1 파일이 변경됨
+1
-1
@@ -235,7 +235,7 @@ const char* ihipGetErrorName(hipError_t hip_error);
|
||||
hipStreamCaptureStatusActive) { \
|
||||
hipError_t status = hip::capture##name(stream, ##__VA_ARGS__); \
|
||||
return status; \
|
||||
} else if (stream != nullptr && \
|
||||
} else if (stream != nullptr && stream != hipStreamLegacy && \
|
||||
reinterpret_cast<hip::Stream*>(stream)->GetCaptureStatus() == \
|
||||
hipStreamCaptureStatusInvalidated) { \
|
||||
return hipErrorStreamCaptureInvalidated; \
|
||||
|
||||
새 이슈에서 참조
사용자 차단