Registered Member
|
Hi,
the Tensor documentation (https://bitbucket.org/eigen/eigen/src/677c9f1577810e869f4f09881cabc3e503a810c1/unsupported/Eigen/CXX11/src/Tensor/README.md?at=default#markdown-header-contraction) seems to be incomplete or buggy. The following minimal code snippet does not compile:
The compile error is the following:
Given that this simple code snipped (which adheres to the provided documentation) does not compile, I am wondering how one can make use of multiple threads within the tensor module. Does a different documentation for the tensor module exist (other than the one mentioned above)? Thanks |
Moderator
|
It seems you need to #define EIGEN_USE_THREADS before include Eigen/Tensor.
|
Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]