Define EIGEN_USE_THREADS only if it is not defined yet

PiperOrigin-RevId: 253269616
This commit is contained in:
Dong Lin 2019-06-14 11:54:54 -07:00 committed by TensorFlower Gardener
parent 3f2192fb1a
commit 33de317e5a

View File

@ -16,7 +16,9 @@ limitations under the License.
#ifndef TENSORFLOW_CORE_LIB_CORE_THREADPOOL_INTERFACE_H_
#define TENSORFLOW_CORE_LIB_CORE_THREADPOOL_INTERFACE_H_
#ifndef EIGEN_USE_THREADS
#define EIGEN_USE_THREADS
#endif
#include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor"