MLIR
20.0.0git
|
StridedMemRef descriptor type with static rank. More...
#include "mlir/ExecutionEngine/CRunnerUtils.h"
Public Member Functions | |
template<typename Range , typename sfinae = decltype(std::declval<Range>().begin())> | |
T & | operator[] (Range &&indices) |
StridedMemrefIterator< T, N > | begin () |
StridedMemrefIterator< T, N > | end () |
StridedMemRefType< T, N - 1 > | operator[] (int64_t idx) |
Public Attributes | |
T * | basePtr |
T * | data |
int64_t | offset |
int64_t | sizes [N] |
int64_t | strides [N] |
StridedMemRef descriptor type with static rank.
Definition at line 131 of file CRunnerUtils.h.
|
inline |
Definition at line 152 of file CRunnerUtils.h.
References StridedMemRefType< T, N >::offset.
|
inline |
Definition at line 153 of file CRunnerUtils.h.
|
inline |
Definition at line 156 of file CRunnerUtils.h.
References StridedMemRefType< T, N >::basePtr, StridedMemRefType< T, N >::data, StridedMemRefType< T, N >::offset, StridedMemRefType< T, N >::sizes, and StridedMemRefType< T, N >::strides.
|
inline |
Definition at line 140 of file CRunnerUtils.h.
References StridedMemRefType< T, N >::data, StridedMemRefType< T, N >::offset, StridedMemRefType< T, N >::sizes, and StridedMemRefType< T, N >::strides.
T* StridedMemRefType< T, N >::basePtr |
Definition at line 132 of file CRunnerUtils.h.
Referenced by mlir::detail::makeStridedMemRefDescriptor(), and StridedMemRefType< T, N >::operator[]().
T* StridedMemRefType< T, N >::data |
Definition at line 133 of file CRunnerUtils.h.
Referenced by mlir::detail::makeStridedMemRefDescriptor(), mgpuMemHostRegisterMemRef(), mgpuMemHostUnregisterMemRef(), StridedMemrefIterator< T, Rank >::operator*(), StridedMemrefIterator< T, Rank >::operator->(), StridedMemRefType< T, 1 >::operator[](), StridedMemRefType< T, N >::operator[](), and StridedMemRefType< T, 0 >::operator[]().
int64_t StridedMemRefType< T, N >::offset |
Definition at line 134 of file CRunnerUtils.h.
Referenced by StridedMemRefType< T, N >::begin(), StridedMemRefType< T, 1 >::begin(), StridedMemRefType< T, 0 >::begin(), StridedMemRefType< T, 0 >::end(), mlir::detail::makeStridedMemRefDescriptor(), mgpuMemHostRegisterMemRef(), mgpuMemHostUnregisterMemRef(), StridedMemRefType< T, 1 >::operator[](), StridedMemRefType< T, N >::operator[](), and StridedMemRefType< T, 0 >::operator[]().
int64_t StridedMemRefType< T, N >::sizes[N] |
Definition at line 135 of file CRunnerUtils.h.
Referenced by mlir::detail::makeStridedMemRefDescriptor(), mgpuMemHostRegisterMemRef(), StridedMemrefIterator< T, Rank >::operator++(), and StridedMemRefType< T, N >::operator[]().
int64_t StridedMemRefType< T, N >::strides[N] |
Definition at line 136 of file CRunnerUtils.h.
Referenced by mlir::detail::makeStridedMemRefDescriptor(), StridedMemrefIterator< T, Rank >::operator++(), StridedMemRefType< T, 1 >::operator[](), and StridedMemRefType< T, N >::operator[]().