diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-05-23 12:55:12 -0700 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-05-23 12:55:12 -0700 |
commit | a09cbf9905b91100ae4337a6c294634d41faed44 (patch) | |
tree | 17f23204f87d8549427aacf315120fd8ff242f1c /unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h | |
parent | 88654762da0df8f6837d58b994e78ffdf90fb408 (diff) | |
parent | b1e080c752ab5cc1bd0d2deaa480382f40cee4db (diff) |
Merged in rmlarsen/eigen (pull request PR-188)
Minor cleanups: 1. Get rid of a few 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 d6af6fedd..f3f65f908 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_) { |