Registered Member
|
Hello,
I try to build a fast sparse solver with Eigen and OpenMP for Python. For the interface between this solver and Python I use the PyBind11 package. Basically, the solver works fine, but unfortunately it only runs on one core and I cannot figure how to use all cores of my cpu. Although the OpenMP test functions uses the entire cpu. Here is the C++ code:
Here the Compiler code:
And finally here the Python code:
Has anyone an idea how to fix this problem? Thanks a lot. |
Registered users: Bing [Bot], Google [Bot], kesang, Yahoo [Bot]