Skip to content

fix data races in blas_server and level3_thread#5844

Merged
martin-frbg merged 2 commits into
OpenMathLib:developfrom
kumaraditya303:develop
Jun 23, 2026
Merged

fix data races in blas_server and level3_thread#5844
martin-frbg merged 2 commits into
OpenMathLib:developfrom
kumaraditya303:develop

Conversation

@kumaraditya303

@kumaraditya303 kumaraditya303 commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

This PR fixes the remaining data races from #5838 where previously it caused data races when the number of threads was higher than 2. With this PR, there are no such data races when running the tests even with 16 threads as I tested on my system.

@ngoldbaum

Copy link
Copy Markdown
Contributor

I think this should also let you increase OPENBLAS_NUM_THREADS in the TSan CI job. Currently it’s two, I saw races with four. Oversubscribing the runner a little bit probably makes races more likely.

@kumaraditya303 kumaraditya303 marked this pull request as ready for review June 23, 2026 16:10
@martin-frbg martin-frbg added this to the 0.3.34 milestone Jun 23, 2026
@martin-frbg

Copy link
Copy Markdown
Collaborator

Great, thanks a lot

@martin-frbg martin-frbg merged commit 5135d5c into OpenMathLib:develop Jun 23, 2026
103 of 104 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.

3 participants