|
| Ellpack (const Ellpack &segments)=default |
|
template<typename SizesContainer > |
| Ellpack (const SizesContainer &sizes) |
|
template<typename ListIndex > |
| Ellpack (const std::initializer_list< ListIndex > &segmentsSizes) |
|
| Ellpack (Ellpack &&segments) noexcept=default |
|
| Ellpack (IndexType segmentsCount, IndexType segmentSize) |
|
template<typename Function > |
void | forAllElements (Function &&f) const |
|
template<typename Function > |
void | forAllSegments (Function &&f) const |
|
template<typename Function > |
void | forElements (IndexType first, IndexType last, Function &&f) const |
|
template<typename Function > |
void | forSegments (IndexType begin, IndexType end, Function &&f) const |
|
ConstViewType | getConstView () const |
|
__cuda_callable__ IndexType | getGlobalIndex (Index segmentIdx, Index localIdx) const |
|
__cuda_callable__ IndexType | getSegmentsCount () const |
| Number segments.
|
|
__cuda_callable__ IndexType | getSegmentSize (IndexType segmentIdx) const |
|
__cuda_callable__ SegmentViewType | getSegmentView (IndexType segmentIdx) const |
|
__cuda_callable__ IndexType | getSize () const |
|
__cuda_callable__ IndexType | getStorageSize () const |
| Returns number of elements that needs to be allocated by a container connected to this segments. More...
|
|
ViewType | getView () |
|
void | load (File &file) |
|
Ellpack & | operator= (const Ellpack &source)=default |
|
template<typename Device_ , typename Index_ , typename IndexAllocator_ , ElementsOrganization Organization_, int Alignment_> |
Ellpack & | operator= (const Ellpack< Device_, Index_, IndexAllocator_, Organization_, Alignment_ > &source) |
|
template<typename Device_ , typename Index_ , typename IndexAllocator_ , ElementsOrganization Organization_, int Alignment_> |
Ellpack< Device, Index, IndexAllocator, Organization, Alignment > & | operator= (const Ellpack< Device_, Index_, IndexAllocator_, Organization_, Alignment_ > &source) |
|
template<typename Fetch > |
SegmentsPrinter< Ellpack, Fetch > | print (Fetch &&fetch) const |
|
template<typename Fetch > |
auto | print (Fetch &&fetch) const -> SegmentsPrinter< Ellpack, Fetch > |
|
template<typename Fetch , typename Reduction , typename ResultKeeper , typename Real > |
void | reduceAllSegments (Fetch &fetch, const Reduction &reduction, ResultKeeper &keeper, const Real &zero) const |
| Call reduceSegments for all segments.
|
|
template<typename Fetch , typename Reduction , typename ResultKeeper , typename Real > |
void | reduceSegments (IndexType first, IndexType last, Fetch &fetch, const Reduction &reduction, ResultKeeper &keeper, const Real &zero) const |
|
void | reset () |
|
void | save (File &file) const |
|
template<typename SizesHolder = OffsetsContainer> |
void | setSegmentsSizes (const SizesHolder &sizes) |
| Set sizes of particular segments.
|
|
void | setSegmentsSizes (IndexType segmentsCount, IndexType segmentSize) |
|