diff options
author | Rasmus Munk Larsen <rmlarsen@google.com> | 2016-06-03 18:06:37 -0700 |
---|---|---|
committer | Rasmus Munk Larsen <rmlarsen@google.com> | 2016-06-03 18:06:37 -0700 |
commit | f1f2ff8208f82680aabd9e191810d0cd10be9048 (patch) | |
tree | 7d4dedc6f46c8704ab3439121f9c0d1964b3618d /unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h | |
parent | 76308e7fd277ad962a87724040670da827a27db4 (diff) |
size_t -> int
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h index 90fded8ad..9073c611a 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h @@ -172,7 +172,7 @@ struct ThreadPoolDevice { pool_->Schedule(func); } - EIGEN_STRONG_INLINE size_t currentThreadId() const { + EIGEN_STRONG_INLINE int currentThreadId() const { return pool_->CurrentThreadId(); } |