diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2015-07-01 11:32:04 -0700 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2015-07-01 11:32:04 -0700 |
commit | 925d0d375a05f09c3e3abb91f29fc2513bb25d0d (patch) | |
tree | c88a75d40e6e005ea6b6c0630c74a2707a8d7455 /unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h | |
parent | 44eedd89159d75b319bc714775b58bb54eb92927 (diff) |
Enabled the vectorized evaluation of several tensor expressions that was previously disabled by mistake
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h b/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h index 3b99ef069..2ef5ff205 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h @@ -106,8 +106,7 @@ class TensorChippingOp : public TensorBase<TensorChippingOp<DimId, XprType> > { typedef TensorAssignOp<TensorChippingOp, const TensorChippingOp> Assign; Assign assign(*this, other); - static const bool Vectorize = TensorEvaluator<const Assign, DefaultDevice>::PacketAccess; - internal::TensorExecutor<const Assign, DefaultDevice, Vectorize>::run(assign, DefaultDevice()); + internal::TensorExecutor<const Assign, DefaultDevice>::run(assign, DefaultDevice()); return *this; } @@ -117,8 +116,7 @@ class TensorChippingOp : public TensorBase<TensorChippingOp<DimId, XprType> > { typedef TensorAssignOp<TensorChippingOp, const OtherDerived> Assign; Assign assign(*this, other); - static const bool Vectorize = TensorEvaluator<const Assign, DefaultDevice>::PacketAccess; - internal::TensorExecutor<const Assign, DefaultDevice, Vectorize>::run(assign, DefaultDevice()); + internal::TensorExecutor<const Assign, DefaultDevice>::run(assign, DefaultDevice()); return *this; } |