ROCm / rocBLAS

Next generation BLAS implementation for ROCm platform
https://rocm.docs.amd.com/projects/rocBLAS/en/latest/
Other
331 stars 152 forks source link

Hotfix: Use hipStreamQuery only if the stream capture status is `hipStreamCaptureStatusNone` #1447

Closed rkamd closed 2 weeks ago

rkamd commented 3 weeks ago

resolves # SWDEV-466097 & SWDEV-464655

Checking whether Stream capture is active ( hipStreamCaptureStatusActive ) might not be enough, as there could be a status hipStreamCaptureStatusInvalidated which indicates the stream capture is invalidated but not terminated. This PR addresses this issue by calling hipStreamQuery() only if the stream capture status is hipStreamCaptureStatusNone