Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

rkamd
Copy link
Contributor

@rkamd rkamd commented Jun 20, 2024

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

Copy link
Contributor

@TorreZuk TorreZuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mamaydeo mamaydeo merged commit 0c6a0af into release/rocm-rel-6.2 Jun 28, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants