We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9951eeb commit 737f641Copy full SHA for 737f641
mkl_fft/_scipy_fft_backend.py
@@ -54,13 +54,7 @@ def __init__(self):
54
def get_cpu_count(self):
55
if self.cpu_count is None:
56
max_threads = self.get_max_threads_count()
57
- self.cpu_count = os_cpu_count()
58
- if self.cpu_count > max_threads:
59
- warnings.warn(
60
- ("os.cpu_count() returned value of {} greater than mkl.get_max_threads()'s value of {}. "
61
- "Using negative values of worker option may amount to requesting more threads than "
62
- "Intel(R) MKL can acommodate."
63
- ).format(self.cpu_count, max_threads))
+ self.cpu_count = max_threads
64
return self.cpu_count
65
66
def get_max_threads_count(self):
0 commit comments