diff options
author | Paul Tucker <tucker@google.com> | 2018-07-31 13:52:18 -0700 |
---|---|---|
committer | Paul Tucker <tucker@google.com> | 2018-07-31 13:52:18 -0700 |
commit | 385f7b8d0ca926d00c71987ab308202511e5c753 (patch) | |
tree | e81c645842359640b19b7d78ef8781bc933ee78b /unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h | |
parent | d4afccde5a9553ddfb48b0f5fad0115cd8bf791a (diff) |
Change getAllocator() to allocator() in ThreadPoolDevice.
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 f4123b71d..f8188ffde 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h @@ -281,7 +281,7 @@ struct ThreadPoolDevice { ThreadPoolInterface* getPool() const { return pool_; } // Allocator accessor. - Allocator* getAllocator() const { return allocator_; } + Allocator* allocator() const { return allocator_; } private: ThreadPoolInterface* pool_; |