|
using | ConstViewType = SlicedEllpackView< Device, std::add_const_t< Index >, Organization, SliceSize > |
using | OffsetsContainer = Containers::Vector< Index, Device, typename Base::IndexType, IndexAllocator > |
template<typename Device_, typename Index_> |
using | ViewTemplate = SlicedEllpackView< Device_, Index_, Organization, SliceSize > |
using | ViewType = SlicedEllpackView< Device, Index, Organization, SliceSize > |
using | ConstOffsetsView |
using | DeviceType |
using | IndexType |
using | OffsetsView |
using | SegmentViewType |
|
template<typename SizesContainer> |
| SlicedEllpack (const SizesContainer &segmentsSizes) |
| SlicedEllpack (const SlicedEllpack &) |
template<typename ListIndex> |
| SlicedEllpack (const std::initializer_list< ListIndex > &segmentsSizes) |
| SlicedEllpack (SlicedEllpack &&) noexcept=default |
ConstViewType | getConstView () const |
ViewType | getView () |
void | load (File &file) |
SlicedEllpack & | operator= (const SlicedEllpack &segments) |
| Copy-assignment operator (makes a deep copy).
|
template<typename Device_, typename Index_, typename IndexAllocator_, ElementsOrganization Organization_> |
SlicedEllpack & | operator= (const SlicedEllpack< Device_, Index_, IndexAllocator_, Organization_, SliceSize > &segments) |
template<typename Device_, typename Index_, typename IndexAllocator_, ElementsOrganization Organization_> |
SlicedEllpack< Device, Index, IndexAllocator, Organization, SliceSize > & | operator= (const SlicedEllpack< Device_, Index_, IndexAllocator_, Organization_, SliceSize > &segments) |
SlicedEllpack & | operator= (SlicedEllpack &&) noexcept(false) |
| Move-assignment operator.
|
void | reset () |
void | save (File &file) const |
template<typename SizesHolder = OffsetsContainer> |
void | setSegmentsSizes (const SizesHolder &sizes) |
| Set sizes of particular segments.
|
void | forAllElements (Function &&function) const |
void | forAllSegments (Function &&function) const |
void | forElements (IndexType begin, IndexType end, Function &&function) const |
void | forSegments (IndexType begin, IndexType end, Function &&function) const |
__cuda_callable__ IndexType | getGlobalIndex (Index segmentIdx, Index localIdx) 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__ OffsetsView | getSliceOffsetsView () |
__cuda_callable__ OffsetsView | getSliceSegmentSizesView () |
__cuda_callable__ IndexType | getStorageSize () const |
SlicedEllpackBase & | operator= (const SlicedEllpackBase &)=delete |