Skip to content

set_workers from SciPy interface does not work as expected #177

Closed
@vtavana

Description

@vtavana

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions