![]() |
Eigen-unsupported
5.0.1-dev+284dcc12
|
#include <unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h>
GeneralVectorTensor is a template class that provides Tensor -vector contraction operation, which is a special case of Tensor Tensor contraction.
| OutScalar | determines the output scalar type |
| OutAccessor | determines the sycl accessor type for out put (please see the sycl-1.2.1 specification (https://www.khronos.org/registry/SYCL/specs/sycl-1.2.1.pdf) for accessor definition) |
| VectorMapper | determines the tensor contraction mapper for the vector input (can be lhs or rhs) |
| TensorMapper | determines the tensor contraction mapper for the tensor input (can be lhs or rhs) |
| StorageIndex | determines the StorageIndex Type |
| Properties | determines the Contraction Panel properties |
| KFactor | determines the number of elements in K dimension in a Tile |
| Vectorizable | determines whether or not the vectorization is enabled for the Eigen expression. |
| is_lhs_vec | determines whether lhs is a vector or rhs is a vector |
| IsFinal | determine if this is the final kernel. If so, the result will be written in a final output. Otherwise, the result of contraction will be written iin a temporary buffer. |
| scratch | determines the local memory containing the vector block for each work-group |
| vec | determines the vector input (tensor mapper) |
| mat | determines the tensor input (tensor mapper) |
| out_res | determines the output vector containing the contraction result |
| nonContractGroupSize | a logical number determining the number of work-group for non-contracting dimension |
| nonContractDim | determines the size of non contracting dimension for the flattened tensor |
| contractDim | determines the size of non contracting dimension for the flattened tensor |