Loading src/TNL/Containers/Segments/BiEllpack.h +6 −3 Original line number Diff line number Diff line Loading @@ -54,15 +54,18 @@ class BiEllpack const ConstViewType getConstView() const; /** * \brief Number of segments. */ __cuda_callable__ IndexType getSegmentsCount() const; /** * \brief Set sizes of particular segments. */ template< typename SizesHolder = OffsetsHolder > void setSegmentsSizes( const SizesHolder& sizes ); __cuda_callable__ IndexType getSegmentsCount() const; IndexType getSegmentSize( const IndexType segmentIdx ) const; /** Loading src/TNL/Containers/Segments/BiEllpack.hpp +11 −13 Original line number Diff line number Diff line Loading @@ -108,6 +108,17 @@ getConstView() const -> const ConstViewType return ConstViewType( size, storageSize, virtualRows, rowPermArray.getConstView(), groupPointers.getConstView() ); } template< typename Device, typename Index, typename IndexAllocator, bool RowMajorOrder, int WarpSize > auto BiEllpack< Device, Index, IndexAllocator, RowMajorOrder, WarpSize >:: getSegmentsCount() const -> IndexType { return this->size; } template< typename Device, typename Index, typename IndexAllocator, Loading Loading @@ -351,19 +362,6 @@ setSegmentsSizes( const SizesHolder& segmentsSizes ) } } template< typename Device, typename Index, typename IndexAllocator, bool RowMajorOrder, int WarpSize > __cuda_callable__ auto BiEllpack< Device, Index, IndexAllocator, RowMajorOrder, WarpSize >:: getSegmentsCount() const -> IndexType { // FIXME // return this->segmentsCount; return 0; } template< typename Device, typename Index, typename IndexAllocator, Loading src/TNL/Containers/Segments/BiEllpackView.h +1 −1 Original line number Diff line number Diff line Loading @@ -73,7 +73,7 @@ class BiEllpackView const ConstViewType getConstView() const; /** * \brief Number segments. * \brief Number of segments. */ __cuda_callable__ IndexType getSegmentsCount() const; Loading src/TNL/Containers/Segments/CSR.h +1 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,7 @@ class CSR const ConstViewType getConstView() const; /** * \brief Number segments. * \brief Number of segments. */ __cuda_callable__ IndexType getSegmentsCount() const; Loading src/TNL/Containers/Segments/ChunkedEllpack.h +6 −3 Original line number Diff line number Diff line Loading @@ -57,15 +57,18 @@ class ChunkedEllpack const ConstViewType getConstView() const; /** * \brief Number of segments. */ __cuda_callable__ IndexType getSegmentsCount() const; /** * \brief Set sizes of particular segments. */ template< typename SizesHolder = OffsetsHolder > void setSegmentsSizes( const SizesHolder& sizes ); __cuda_callable__ IndexType getSegmentsCount() const; IndexType getSegmentSize( const IndexType segmentIdx ) const; /** Loading Loading
src/TNL/Containers/Segments/BiEllpack.h +6 −3 Original line number Diff line number Diff line Loading @@ -54,15 +54,18 @@ class BiEllpack const ConstViewType getConstView() const; /** * \brief Number of segments. */ __cuda_callable__ IndexType getSegmentsCount() const; /** * \brief Set sizes of particular segments. */ template< typename SizesHolder = OffsetsHolder > void setSegmentsSizes( const SizesHolder& sizes ); __cuda_callable__ IndexType getSegmentsCount() const; IndexType getSegmentSize( const IndexType segmentIdx ) const; /** Loading
src/TNL/Containers/Segments/BiEllpack.hpp +11 −13 Original line number Diff line number Diff line Loading @@ -108,6 +108,17 @@ getConstView() const -> const ConstViewType return ConstViewType( size, storageSize, virtualRows, rowPermArray.getConstView(), groupPointers.getConstView() ); } template< typename Device, typename Index, typename IndexAllocator, bool RowMajorOrder, int WarpSize > auto BiEllpack< Device, Index, IndexAllocator, RowMajorOrder, WarpSize >:: getSegmentsCount() const -> IndexType { return this->size; } template< typename Device, typename Index, typename IndexAllocator, Loading Loading @@ -351,19 +362,6 @@ setSegmentsSizes( const SizesHolder& segmentsSizes ) } } template< typename Device, typename Index, typename IndexAllocator, bool RowMajorOrder, int WarpSize > __cuda_callable__ auto BiEllpack< Device, Index, IndexAllocator, RowMajorOrder, WarpSize >:: getSegmentsCount() const -> IndexType { // FIXME // return this->segmentsCount; return 0; } template< typename Device, typename Index, typename IndexAllocator, Loading
src/TNL/Containers/Segments/BiEllpackView.h +1 −1 Original line number Diff line number Diff line Loading @@ -73,7 +73,7 @@ class BiEllpackView const ConstViewType getConstView() const; /** * \brief Number segments. * \brief Number of segments. */ __cuda_callable__ IndexType getSegmentsCount() const; Loading
src/TNL/Containers/Segments/CSR.h +1 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,7 @@ class CSR const ConstViewType getConstView() const; /** * \brief Number segments. * \brief Number of segments. */ __cuda_callable__ IndexType getSegmentsCount() const; Loading
src/TNL/Containers/Segments/ChunkedEllpack.h +6 −3 Original line number Diff line number Diff line Loading @@ -57,15 +57,18 @@ class ChunkedEllpack const ConstViewType getConstView() const; /** * \brief Number of segments. */ __cuda_callable__ IndexType getSegmentsCount() const; /** * \brief Set sizes of particular segments. */ template< typename SizesHolder = OffsetsHolder > void setSegmentsSizes( const SizesHolder& sizes ); __cuda_callable__ IndexType getSegmentsCount() const; IndexType getSegmentSize( const IndexType segmentIdx ) const; /** Loading