|
using | ConstViewType = ChunkedEllpackView< Device, std::add_const_t< Index >, Organization > |
|
template<typename Device_ , typename Index_ > |
using | ViewTemplate = ChunkedEllpackView< Device_, Index_, Organization > |
|
using | ViewType = ChunkedEllpackView |
|
using | ConstOffsetsView = typename OffsetsView::ConstViewType |
|
using | ConstSliceInfoContainerView = typename SliceInfoContainerView::ConstViewType |
|
using | DeviceType = Device |
|
using | IndexType = std::remove_const_t< Index > |
|
using | OffsetsView = Containers::VectorView< Index, DeviceType, IndexType > |
|
using | SegmentViewType = ChunkedEllpackSegmentView< IndexType, Organization > |
|
using | SliceInfoContainerView = Containers::ArrayView< typename TNL::copy_const< SliceInfoType >::template from< Index >::type, DeviceType, IndexType > |
|
using | SliceInfoType = detail::ChunkedEllpackSliceInfo< IndexType > |
|
template<typename Device_ , typename Index_ > |
using | ViewTemplate = ChunkedEllpackBase< Device_, Index_, Organization > |
|
|
__cuda_callable__ | ChunkedEllpackView (ChunkedEllpackView &&) noexcept=default |
|
__cuda_callable__ | ChunkedEllpackView (const ChunkedEllpackView &)=default |
|
__cuda_callable__ | ChunkedEllpackView (Index size, Index storageSize, Index numberOfSlices, Index chunksInSlice, Index desiredChunkSize, typename Base::OffsetsView rowToChunkMapping, typename Base::OffsetsView rowToSliceMapping, typename Base::OffsetsView chunksToSegmentsMapping, typename Base::OffsetsView rowPointers, typename Base::SliceInfoContainerView slices) |
|
__cuda_callable__ void | bind (ChunkedEllpackView view) |
|
__cuda_callable__ ConstViewType | getConstView () const |
|
__cuda_callable__ ViewType | getView () |
|
void | load (File &file) |
|
ChunkedEllpackView & | operator= (ChunkedEllpackView &&)=delete |
|
ChunkedEllpackView & | operator= (const ChunkedEllpackView &)=delete |
|
void | save (File &file) const |
|
__cuda_callable__ | ChunkedEllpackBase (ChunkedEllpackBase &&) noexcept=default |
|
__cuda_callable__ | ChunkedEllpackBase (const ChunkedEllpackBase &)=default |
|
__cuda_callable__ | ChunkedEllpackBase (IndexType size, IndexType storageSize, IndexType numberOfSlices, IndexType chunksInSlice, IndexType desiredChunkSize, OffsetsView rowToChunkMapping, OffsetsView rowToSliceMapping, OffsetsView chunksToSegmentsMapping, OffsetsView rowPointers, SliceInfoContainerView slices) |
|
template<typename Function > |
void | forAllElements (Function &&function) const |
|
template<typename Function > |
void | forAllSegments (Function &&function) const |
|
template<typename Function > |
void | forElements (IndexType begin, IndexType end, Function &&function) const |
|
template<typename Function > |
void | forSegments (IndexType begin, IndexType end, Function &&function) const |
|
__cuda_callable__ IndexType | getChunksInSlice () const |
|
__cuda_callable__ OffsetsView | getChunksToSegmentsMappingView () |
|
__cuda_callable__ ConstOffsetsView | getChunksToSegmentsMappingView () const |
|
__cuda_callable__ IndexType | getDesiredChunkSize () const |
|
__cuda_callable__ IndexType | getGlobalIndex (IndexType segmentIdx, IndexType localIdx) const |
|
__cuda_callable__ IndexType | getNumberOfSlices () const |
|
__cuda_callable__ OffsetsView | getRowPointersView () |
|
__cuda_callable__ ConstOffsetsView | getRowPointersView () const |
|
__cuda_callable__ OffsetsView | getRowToChunkMappingView () |
|
__cuda_callable__ ConstOffsetsView | getRowToChunkMappingView () const |
|
__cuda_callable__ OffsetsView | getRowToSliceMappingView () |
|
__cuda_callable__ ConstOffsetsView | getRowToSliceMappingView () const |
|
__cuda_callable__ IndexType | getSegmentsCount () const |
|
__cuda_callable__ IndexType | getSegmentSize (IndexType segmentIdx) const |
|
__cuda_callable__ SegmentViewType | getSegmentView (IndexType segmentIdx) const |
|
__cuda_callable__ IndexType | getSize () const |
|
__cuda_callable__ SliceInfoContainerView | getSlicesView () |
|
__cuda_callable__ ConstSliceInfoContainerView | getSlicesView () const |
|
__cuda_callable__ IndexType | getStorageSize () const |
|
ChunkedEllpackBase & | operator= (ChunkedEllpackBase &&)=delete |
|
ChunkedEllpackBase & | operator= (const ChunkedEllpackBase &)=delete |
|
void | printStructure (std::ostream &str) const |
|
|
static constexpr ElementsOrganization | getOrganization () |
|
static std::string | getSegmentsType () |
|
static std::string | getSerializationType () |
|
static constexpr bool | havePadding () |
|
__cuda_callable__ void | bind (IndexType size, IndexType storageSize, IndexType numberOfSlices, IndexType chunksInSlice, IndexType desiredChunkSize, OffsetsView rowToChunkMapping, OffsetsView rowToSliceMapping, OffsetsView chunksToSegmentsMapping, OffsetsView rowPointers, SliceInfoContainerView slices) |
| Re-initializes the internal attributes of the base class.
|
|
IndexType | chunksInSlice = 256 |
|
OffsetsView | chunksToSegmentsMapping |
|
IndexType | desiredChunkSize = 16 |
|
IndexType | numberOfSlices = 0 |
|
OffsetsView | rowPointers |
| Keeps index of the first segment index.
|
|
OffsetsView | rowToChunkMapping |
| For each row, this keeps index of the first chunk within a slice.
|
|
OffsetsView | rowToSliceMapping |
| For each segment, this keeps index of the slice which contains the segment.
|
|
IndexType | size = 0 |
|
SliceInfoContainerView | slices |
|
IndexType | storageSize = 0 |
|