diff options
author | Rasmus Munk Larsen <rmlarsen@google.com> | 2016-05-18 15:09:48 -0700 |
---|---|---|
committer | Rasmus Munk Larsen <rmlarsen@google.com> | 2016-05-18 15:09:48 -0700 |
commit | 7df811cfe5d0047658de1cb4522c9c00d211b059 (patch) | |
tree | 19241e8c671fd00717ad6b9f96172098b0d15d20 /unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h | |
parent | 86ae94462e7a8a6ee87303fb558ac8c90349797d (diff) |
Minor cleanups: 1. Get rid of unused variables. 2. Get rid of last uses of EIGEN_USE_COST_MODEL.
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h index 88d485f38..98fe6f542 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h @@ -568,10 +568,6 @@ struct TensorEvaluator<const TensorContractionOp<Indices, LeftArgType, RightArgT (parallel_pack_ ? nm_ + nn_ : (shard_by_col_ ? nn_ : nm_)) + nm_ * nn_; if (k < nk_) { - // It is important to copy out nm_ and nn_, because once we kick off - // the last packing operation this and device_ can be destroyed. - Index nm = nm_; - Index nn = nn_; // Issue lhs/rhs packing. Their completion will in turn kick off // kernels. if (parallel_pack_) { |