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

Reset stream function in Gemm algorithm picker #39

Merged

Conversation

hsharsha
Copy link

@hsharsha hsharsha commented Sep 6, 2024

This is cherry pick from openxla#16520

@i-chaochen
Copy link

i-chaochen commented Sep 30, 2024

IIUC, this is the key for this PR? @pemeliya

https://github.com/openxla/xla/pull/16520/files#diff-3f07e4861326cec8b10880b7c7d2623daf79bad9f3ee524eef5f5fa20349f0b5R385

  ret = rocblas_func(blas_, std::forward<Args>(args)...);
  SetStream(nullptr); // Resetting stream after the function call

@i-chaochen i-chaochen merged commit 7fd3ae6 into rocm-jaxlib-v0.4.30-qa Oct 2, 2024
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants