Eigen paralelization: Difference between revisions
From Medusa: Coordinate Free Meshless Method implementation
More actions
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
Eigen uses number of threads specified my OpenMP, unless <code>Eigen::setNbThreads(n);</code> was called. | Eigen uses number of threads specified my OpenMP, unless <code>Eigen::setNbThreads(n);</code> was called. | ||
Exectuion on PC with 4 cores and 8 hyperthreads: | |||
[[File:speedups_Ax.png|800px]] | [[File:speedups_Ax.png|800px]] | ||
[[File:l2hit.png|800px]] | [[File:l2hit.png|800px]] | ||
[[File:l3hit.png|800px]] | [[File:l3hit.png|800px]] | ||
Execution on Intel Phi: | |||
[[File:speedups_phi.png|800px]] | |||
[[File:l2hit_phi.png|800px]] | |||
[[File:l3hit_phi.png|800px]] | |||
Revision as of 11:11, 27 March 2017
General Eigen parallelism: https://eigen.tuxfamily.org/dox/TopicMultiThreading.html
Eigen uses number of threads specified my OpenMP, unless Eigen::setNbThreads(n); was called.