Registered Member
|
Hi there,
I have downloaded Eigen 3.3-alpha1 and played with it to solve a sparse matrix (row major) on an 8 cores machine. The test code is quite simple. I compiled it using g++ version 4.7.2 with -fopenmp option. But I didn't see any speedup. The Eigen::nbThreads() did tell me that there were 8 threads. The followings are part of the test code.
I also tried to
So I was wondering if i used the wrong version or it is not supported yet. Thanks, LZ |
Moderator
|
Very strange that you cannot find any pragma omp is Eigen's source, because even the 3.0 version has some omp directives. On 3.3-alpha1 you should see:
The last one is responsible for multi-threading in sparse iterative solvers. |
Registered Member
|
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], q.ignora