mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-14 17:11:50 +08:00
Merged in mvdyck/doc-topicmultithreadingdox-resolved-comp-1431118452618 (pull request PR-1)
[[DOC]] TopicMultithreading.dox compile error in example code resolved as in default branch
This commit is contained in:
commit
e88aaae5f4
@ -17,7 +17,7 @@ You can control the number of thread that will be used using either the OpenMP A
|
|||||||
Unless setNbThreads has been called, Eigen uses the number of threads specified by OpenMP. You can restore this bahavior by calling \code setNbThreads(0); \endcode
|
Unless setNbThreads has been called, Eigen uses the number of threads specified by OpenMP. You can restore this bahavior by calling \code setNbThreads(0); \endcode
|
||||||
You can query the number of threads that will be used with:
|
You can query the number of threads that will be used with:
|
||||||
\code
|
\code
|
||||||
n = Eigen::nbThreads(n);
|
n = Eigen::nbThreads( );
|
||||||
\endcode
|
\endcode
|
||||||
You can disable Eigen's multi threading at compile time by defining the EIGEN_DONT_PARALLELIZE preprocessor token.
|
You can disable Eigen's multi threading at compile time by defining the EIGEN_DONT_PARALLELIZE preprocessor token.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user