![]() |
|
#include <TensorBlock.h>
Public Types | |
typedef DSizes< IndexType, NumDims > | Dimensions |
Public Member Functions | |
TensorBlockMapper ()=default | |
TensorBlockMapper (const DSizes< IndexType, NumDims > &dimensions, const TensorBlockResourceRequirements &requirements) | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE IndexType | blockCount () const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE IndexType | blockTotalSize () const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const DSizes< IndexType, NumDims > & | blockDimensions () const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE BlockDescriptor | blockDescriptor (IndexType block_index) const |
Private Types | |
typedef TensorBlockDescriptor< NumDims, IndexType > | BlockDescriptor |
Private Member Functions | |
void | InitializeBlockDimensions () |
Private Attributes | |
DSizes< IndexType, NumDims > | m_tensor_dimensions |
TensorBlockResourceRequirements | m_requirements |
DSizes< IndexType, NumDims > | m_block_dimensions |
IndexType | m_total_block_count |
DSizes< IndexType, NumDims > | m_tensor_strides |
DSizes< IndexType, NumDims > | m_block_strides |
|
private |
typedef DSizes<IndexType, NumDims> Eigen::internal::TensorBlockMapper< NumDims, Layout, IndexType >::Dimensions |
|
default |
|
inline |
References Eigen::internal::TensorBlockMapper< NumDims, Layout, IndexType >::InitializeBlockDimensions().
|
inline |
References Eigen::internal::TensorBlockMapper< NumDims, Layout, IndexType >::m_total_block_count.
Referenced by Eigen::internal::TensorExecutor< Expression, DefaultDevice, Vectorizable, TiledEvaluation::On >::run().
|
inline |
References Eigen::ColMajor, i, Eigen::internal::TensorBlockMapper< NumDims, Layout, IndexType >::m_block_dimensions, Eigen::internal::TensorBlockMapper< NumDims, Layout, IndexType >::m_block_strides, Eigen::internal::TensorBlockMapper< NumDims, Layout, IndexType >::m_tensor_dimensions, Eigen::internal::TensorBlockMapper< NumDims, Layout, IndexType >::m_tensor_strides, and Eigen::numext::mini().
Referenced by Eigen::internal::TensorExecutor< Expression, DefaultDevice, Vectorizable, TiledEvaluation::On >::run().
|
inline |
|
inline |
References Eigen::internal::TensorBlockMapper< NumDims, Layout, IndexType >::m_block_dimensions, and Eigen::DSizes< DenseIndex, NumDims >::TotalSize().
|
inlineprivate |
References Eigen::internal::array_prod(), Eigen::ColMajor, Eigen::numext::div_ceil(), eigen_assert, i, Eigen::internal::kSkewedInnerDims, Eigen::internal::kUniformAllDims, Eigen::internal::TensorBlockMapper< NumDims, Layout, IndexType >::m_block_dimensions, Eigen::internal::TensorBlockMapper< NumDims, Layout, IndexType >::m_block_strides, Eigen::internal::TensorBlockMapper< NumDims, Layout, IndexType >::m_requirements, Eigen::internal::TensorBlockMapper< NumDims, Layout, IndexType >::m_tensor_dimensions, Eigen::internal::TensorBlockMapper< NumDims, Layout, IndexType >::m_tensor_strides, Eigen::internal::TensorBlockMapper< NumDims, Layout, IndexType >::m_total_block_count, Eigen::numext::maxi(), Eigen::numext::mini(), Eigen::bfloat16_impl::pow(), Eigen::DSizes< DenseIndex, NumDims >::rank(), Eigen::internal::TensorBlockResourceRequirements::shape_type, Eigen::internal::TensorBlockResourceRequirements::size, and Eigen::DSizes< DenseIndex, NumDims >::TotalSize().
Referenced by Eigen::internal::TensorBlockMapper< NumDims, Layout, IndexType >::TensorBlockMapper().
|
private |
Referenced by Eigen::internal::TensorBlockMapper< NumDims, Layout, IndexType >::blockDescriptor(), Eigen::internal::TensorBlockMapper< NumDims, Layout, IndexType >::blockDimensions(), Eigen::internal::TensorBlockMapper< NumDims, Layout, IndexType >::blockTotalSize(), and Eigen::internal::TensorBlockMapper< NumDims, Layout, IndexType >::InitializeBlockDimensions().
|
private |
|
private |
|
private |
|
private |
|
private |