Skip to content

set_workers from SciPy interface does not work as expected #177

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

Closed
vtavana opened this issue May 5, 2025 · 0 comments · Fixed by #183
Closed

set_workers from SciPy interface does not work as expected #177

vtavana opened this issue May 5, 2025 · 0 comments · Fixed by #183
Assignees

Comments

@vtavana
Copy link
Collaborator

vtavana commented May 5, 2025

set_workers from SciPy interface does not work as expected

import mkl_fft.interfaces.scipy_fft as scipy_fft
with scipy_fft.set_workers(0):
	print(scipy_fft.get_workers())
# 112

with scipy_fft.set_workers(-1):
	print(scipy_fft.get_workers())
# -1

Result from SciPy itself

with scipy_fft.set_workers(0):
	print(scipy_fft.get_workers())
# ValueError: workers must not be zero

with scipy_fft.set_workers(-1):
	print(scipy_fft.get_workers())
# 112
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 a pull request may close this issue.

1 participant