-
Notifications
You must be signed in to change notification settings - Fork 53
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
Fix deprecated Threads.nthreads() #204
Fix deprecated Threads.nthreads() #204
Conversation
I think this needs signoff from @JeffBezanson / @vtjnash that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW, this would be very wrong, since there is no replacement for nthreads
now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove all assumptions of thread-local-storage
That will require a pretty significant rewrite of the CHOLMOD wrapper. We'll have to carry workspaces and settings around with each Factor object now I believe. |
Could you use |
I'll leave the necessary changes up to @Wimmerer |
Threads.nthreads()
is going to be deprecated in JuliaLang/julia#45447This needs to be fixed before JuliaLang/julia#45447 merges because Base tests run with
--depwarn=error
https://github.com/JuliaLang/julia/blob/df846436bb91b291be988f5e18e256d514b97347/test/testenv.jl#L19