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

macOS vecLib Accelerate Framework thread setting #32

Open
go-ski opened this issue Jul 14, 2022 · 1 comment
Open

macOS vecLib Accelerate Framework thread setting #32

go-ski opened this issue Jul 14, 2022 · 1 comment

Comments

@go-ski
Copy link

go-ski commented Jul 14, 2022

FlexiBLAS now builds fine on macOS and can switch between "APPLE" (vecLib Accelerate Framework) and "OPENBLASOPENMP" (built with homebrew) - Thank you! But thread control for "APPLE" keeps default threads and always reports 1 thread (tested via R package flexiblas). Setting the variable VECLIB_MAXIMUM_THREADS before starting R, does control threads correctly. Is there a way to specify setting that variable with FlexiBLAS?

@grisuthedragon
Copy link
Member

It seems that there is no runtime way in the veclib to change the number of threads. At least, I did not find anyone. So of there is no function, which does the same as VECLIB_MAXIMUM_THREADS it gets hard to implement such a thing on MacOS with the veclib.

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

No branches or pull requests

2 participants