How to enable multithreading for dsyev when wrapped with pybind11 in c++

70 Views Asked by At

I am trying to wrap a some of c++ code with pybind11. But, I am not able enable multi-threading for LAPACK/BLAS functions.

Currently, I just use ‘-fopenmp’ while compiling with gcc to enable parallelisation. With this I am able to parallelise other functions like matrix-matrix multiplication from Eigen but not the LAPACK/BLAS functions.

0

There are 0 best solutions below