|
TR-mbed 1.0
|
TiledMemory: contains required memory pointer for loading each tile of the TensorContraction panel from global memory to local/private memory when local/no_local algorithm used. More...
#include <TensorContractionSycl.h>
Public Member Functions | |
| template<contraction_type tp = contraction_tp> | |
| EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE | TiledMemory (const ThreadProperties< StorageIndex > &, local_ptr, typename ::Eigen::internal::enable_if< tp==contraction_type::no_local >::type *=0) |
| template<contraction_type tp = contraction_tp> | |
| EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE | TiledMemory (const ThreadProperties< StorageIndex > &thread_properties, local_ptr block_start_ptr, typename ::Eigen::internal::enable_if< tp==contraction_type::local >::type *=0) |
Public Attributes | |
| MemHolder< contraction_tp, Properties::WorkLoadPerThreadM *Properties::TileSizeDimK > | lhs_scratch_extract |
| MemHolder< contraction_tp, Properties::WorkLoadPerThreadN *Properties::TileSizeDimK > | rhs_scratch_extract |
| tile_ptr | lhs_scratch_ptr_compute |
| tile_ptr | rhs_scratch_ptr_compute |
| const std::pair< StorageIndex, StorageIndex > | lhs_extract_index |
| const std::pair< StorageIndex, StorageIndex > | rhs_extract_index |
TiledMemory: contains required memory pointer for loading each tile of the TensorContraction panel from global memory to local/private memory when local/no_local algorithm used.
| lhs_scratch_extract | : determines the LHS tile memory. It is either private or local memory based on the selected contraction_type. |
| rhs_scratch_extract | : determines the RHS tile memory. It is either private or local memory based on the selected contraction_type. |
| lhs_extract_index | determins the position of each thread on a local memory for lhs input. When private memory is used this is set to zero as this is not applicable in case of private memory. |
| rhs_extract_index | determins the position of each thread on a local memory for rhs input. When private memory is used this is set to zero as this is not applicable in case of private memory. |
| lhs_scratch_compute | : determines the location to load for computation for lhs_local memory. This is the same as lhs_scratch_extract for private memory. |
| rhs_scratch_compute | : determines the location to load for computation for rhs_local memory. This is the same as rhs_scratch_extract for private memory. |
|
inline |
|
inline |
| const std::pair<StorageIndex, StorageIndex> Eigen::TensorSycl::internal::TensorContractionKernel< OutScalar, LhsScalar, RhsScalar, OutAccessor, LhsMapper, RhsMapper, StorageIndex, Properties, TripleDim, Vectorizable, input_mapper_properties, IsFinal, contraction_tp >::TiledMemory::lhs_extract_index |
| MemHolder<contraction_tp, Properties::WorkLoadPerThreadM * Properties::TileSizeDimK> Eigen::TensorSycl::internal::TensorContractionKernel< OutScalar, LhsScalar, RhsScalar, OutAccessor, LhsMapper, RhsMapper, StorageIndex, Properties, TripleDim, Vectorizable, input_mapper_properties, IsFinal, contraction_tp >::TiledMemory::lhs_scratch_extract |
| tile_ptr Eigen::TensorSycl::internal::TensorContractionKernel< OutScalar, LhsScalar, RhsScalar, OutAccessor, LhsMapper, RhsMapper, StorageIndex, Properties, TripleDim, Vectorizable, input_mapper_properties, IsFinal, contraction_tp >::TiledMemory::lhs_scratch_ptr_compute |
| const std::pair<StorageIndex, StorageIndex> Eigen::TensorSycl::internal::TensorContractionKernel< OutScalar, LhsScalar, RhsScalar, OutAccessor, LhsMapper, RhsMapper, StorageIndex, Properties, TripleDim, Vectorizable, input_mapper_properties, IsFinal, contraction_tp >::TiledMemory::rhs_extract_index |
| MemHolder<contraction_tp, Properties::WorkLoadPerThreadN * Properties::TileSizeDimK> Eigen::TensorSycl::internal::TensorContractionKernel< OutScalar, LhsScalar, RhsScalar, OutAccessor, LhsMapper, RhsMapper, StorageIndex, Properties, TripleDim, Vectorizable, input_mapper_properties, IsFinal, contraction_tp >::TiledMemory::rhs_scratch_extract |
| tile_ptr Eigen::TensorSycl::internal::TensorContractionKernel< OutScalar, LhsScalar, RhsScalar, OutAccessor, LhsMapper, RhsMapper, StorageIndex, Properties, TripleDim, Vectorizable, input_mapper_properties, IsFinal, contraction_tp >::TiledMemory::rhs_scratch_ptr_compute |