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

Allow access to other settings? #25

Open
aldanor opened this issue Jul 4, 2019 · 1 comment
Open

Allow access to other settings? #25

aldanor opened this issue Jul 4, 2019 · 1 comment

Comments

@aldanor
Copy link

aldanor commented Jul 4, 2019

I know this maybe beyond the scope of this little project, but there's quite often other blas/mkl/omp-related variables that are set together, for instance MKL_DYNAMIC and OMP_DYNAMIC - which is directly related to thread allocation - any chance of supporting those?

At the very least, being able to call (and then restore back) omp_get_dynamic() / omp_set_dynamic() would be nice, for both libiomp/libgomp.

@jeremiedbb
Copy link
Collaborator

I'm not sure it would fit nicely in threadpoolctl.thread_limits, since this is specific to OpenMP. But maybe through a different, more polyvalent, context manager.

I don't think that the default output of threadpool_info should display all possible threadpool status functions, but maybe we could add a parameter to enable that.

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