Template Numerical Library version\ main:bb09b17
|
Public Types | |
using | GroupsWidthType = Containers::StaticVector< getGroupsCount(), IndexType > |
using | IndexType = Index |
Public Member Functions | |
__cuda_callable__ | BiEllpackSegmentView (BiEllpackSegmentView &&) noexcept=default |
__cuda_callable__ | BiEllpackSegmentView (const BiEllpackSegmentView &)=default |
__cuda_callable__ | BiEllpackSegmentView (IndexType segmentIdx, IndexType offset, IndexType inStripIdx, const GroupsWidthType &groupsWidth) |
Constructor. | |
__cuda_callable__ IndexType | getGlobalIndex (IndexType localIdx) const |
__cuda_callable__ IndexType | getSegmentIndex () const |
__cuda_callable__ IndexType | getSize () const |
__cuda_callable__ BiEllpackSegmentView & | operator= (BiEllpackSegmentView &&) noexcept=default |
__cuda_callable__ BiEllpackSegmentView & | operator= (const BiEllpackSegmentView &)=default |
Static Public Member Functions | |
static constexpr int | getGroupsCount () |
static constexpr int | getLogWarpSize () |
static constexpr int | getWarpSize () |
Protected Attributes | |
IndexType | groupOffset |
GroupsWidthType | groupsWidth |
IndexType | inStripIdx |
IndexType | segmentIdx |
IndexType | segmentSize |
|
inline |
Constructor.
segmentIdx | is the segment index. |
offset | is offset of the first group of the strip the segment belongs to. |
inStripIdx | is index of the segment within its strip. |
groupsWidth | is a static vector containing widths of the strip groups. |