|
using | ConstViewType = SlicedEllpackView< Device, std::add_const_t< Index >, Organization, SliceSize > |
|
using | DeviceType = Device |
|
using | IndexType = std::remove_const_t< Index > |
|
using | OffsetsView = Containers::VectorView< Index, DeviceType, IndexType > |
|
using | SegmentViewType = SegmentView< IndexType, Organization > |
|
template<typename Device_ , typename Index_ > |
using | ViewTemplate = SlicedEllpackView< Device_, Index_, Organization, SliceSize > |
|
using | ViewType = SlicedEllpackView |
|
|
__cuda_callable__ | SlicedEllpackView (const SlicedEllpackView &slicedEllpackView)=default |
|
__cuda_callable__ | SlicedEllpackView (IndexType size, IndexType alignedSize, IndexType segmentsCount, OffsetsView &&sliceOffsets, OffsetsView &&sliceSegmentSizes) |
|
__cuda_callable__ | SlicedEllpackView (SlicedEllpackView &&slicedEllpackView) noexcept=default |
|
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 |
|
__cuda_callable__ ConstViewType | getConstView () 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 |
| Number segments.
|
|
__cuda_callable__ IndexType | getStorageSize () const |
|
__cuda_callable__ ViewType | getView () |
|
void | load (File &file) |
|
SlicedEllpackView & | operator= (const SlicedEllpackView &view) |
|
template<typename Fetch > |
SegmentsPrinter< SlicedEllpackView, Fetch > | print (Fetch &&fetch) const |
|
template<typename Fetch > |
auto | print (Fetch &&fetch) const -> SegmentsPrinter< SlicedEllpackView, Fetch > |
|
template<typename Fetch , typename Reduction , typename ResultKeeper , typename Real > |
void | reduceAllSegments (Fetch &fetch, const Reduction &reduction, ResultKeeper &keeper, const Real &zero) const |
|
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 | save (File &file) const |
|