Skip to content

Commit 657aa9c

Browse files
committed
no explicit setting of threads
1 parent 415c451 commit 657aa9c

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

quaddtype/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ npymath_lib = c.find_library('npymath', dirs: npymath_path)
3030
dependencies = [py_dep, qblas_dep, sleef_dep, sleefquad_dep, npymath_lib]
3131

3232
# Add OpenMP dependency (optional, for threading)
33-
openmp_dep = dependency('openmp', required: false)
33+
openmp_dep = dependency('openmp', required: false, static: false)
3434
if openmp_dep.found()
3535
dependencies += openmp_dep
3636
endif

quaddtype/numpy_quaddtype/src/umath/matmul.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -396,9 +396,6 @@ init_matmul_ops(PyObject *numpy)
396396
PyArray_DTypeMeta *dtypes[3] = {&QuadPrecDType, &QuadPrecDType, &QuadPrecDType};
397397

398398
#ifndef DISABLE_QUADBLAS
399-
// set threading to max
400-
int num_threads = _quadblas_get_num_threads();
401-
_quadblas_set_num_threads(num_threads);
402399

403400
PyType_Slot slots[] = {
404401
{NPY_METH_resolve_descriptors, (void *)&quad_matmul_resolve_descriptors},

0 commit comments

Comments
 (0)