Skip to content

Commit 151b4d1

Browse files
authored
Merge pull request #169 from SwayamInSync/168
2 parents d5b143f + a9712bd commit 151b4d1

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
@@ -37,7 +37,7 @@ npymath_lib = c.find_library('npymath', dirs: npymath_path)
3737
dependencies = [py_dep, qblas_dep, sleef_dep, sleefquad_dep, npymath_lib]
3838

3939
# Add OpenMP dependency (optional, for threading)
40-
openmp_dep = dependency('openmp', required: false)
40+
openmp_dep = dependency('openmp', required: false, static: false)
4141
if openmp_dep.found()
4242
dependencies += openmp_dep
4343
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)