diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2015-06-29 10:49:55 -0700 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2015-06-29 10:49:55 -0700 |
commit | 3625734bc8e63b4ccb4c190d170fd5d29fba5b54 (patch) | |
tree | 802298cb02cda49d1d786b8b850af633d29fbe16 /unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h | |
parent | 392a30db824161a0466f7970e12e5a48ed05ebd9 (diff) |
Moved some utilities to TensorMeta.h to make it easier to reuse them accross several tensor operations.
Created the TensorDimensionList class to encode the list of all the dimensions of a tensor of rank n. This could be done using TensorIndexList, however TensorIndexList require cxx11 which isn't yet supported as widely as we'd like.
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h index 588770bb4..f6bd949bd 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h @@ -1241,10 +1241,10 @@ struct TensorEvaluator<const TensorContractionOp<Indices, LeftArgType, RightArgT typedef array<Index, RDims> right_dim_mapper_t; typedef array<Index, ContractDims> contract_t; - typedef array<Index, internal::max_n_1<LDims - ContractDims>::size> left_nocontract_t; - typedef array<Index, internal::max_n_1<RDims - ContractDims>::size> right_nocontract_t; + typedef array<Index, max_n_1<LDims - ContractDims>::size> left_nocontract_t; + typedef array<Index, max_n_1<RDims - ContractDims>::size> right_nocontract_t; - static const int NumDims = internal::max_n_1<LDims + RDims - 2 * ContractDims>::size; + static const int NumDims = max_n_1<LDims + RDims - 2 * ContractDims>::size; typedef DSizes<Index, NumDims> Dimensions; |