|
|
using | DeviceType = Device |
|
using | IndexType = std::remove_const_t< Index > |
|
using | SegmentViewType = SegmentView< IndexType, Organization > |
|
|
__cuda_callable__ | EllpackBase (const EllpackBase &)=default |
|
__cuda_callable__ | EllpackBase (EllpackBase &&) noexcept=default |
|
__cuda_callable__ | EllpackBase (IndexType segmentsCount, IndexType segmentSize, IndexType alignedSize) |
|
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 | getAlignedSize () 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__ IndexType | getStorageSize () const |
|
EllpackBase & | operator= (const EllpackBase &)=delete |
|
EllpackBase & | operator= (EllpackBase &&)=delete |
|
|
static constexpr int | getAlignment () |
|
static constexpr ElementsOrganization | getOrganization () |
|
static std::string | getSegmentsType () |
|
static std::string | getSerializationType () |
|
static constexpr bool | havePadding () |
|
| __cuda_callable__ void | bind (IndexType segmentsCount, IndexType segmentSize, IndexType alignedSize) |
| | Re-initializes the internal attributes of the base class.
|
|
|
IndexType | alignedSize = 0 |
|
IndexType | segmentsCount = 0 |
|
IndexType | segmentSize = 0 |
◆ bind()
Re-initializes the internal attributes of the base class.
Note that this function is protected to ensure that the user cannot modify the base class of segments. For the same reason, in future code development we also need to make sure that all non-const functions in the base class return by value and not by reference.
The documentation for this class was generated from the following file:
- src/TNL/Algorithms/Segments/EllpackBase.h