Commit b47b3742 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Added missing __cuda_callable__ to getRowCapacity

parent 910262ed
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -140,6 +140,7 @@ class SparseMatrix : public Matrix< Real, Device, Index, RealAllocator >
      template< typename Vector >
      void getCompressedRowLengths( Vector& rowLengths ) const;

      __cuda_callable__
      IndexType getRowCapacity( const IndexType row ) const;

      template< typename Matrix >
+1 −0
Original line number Diff line number Diff line
@@ -312,6 +312,7 @@ template< typename Real,
          template< typename, typename, typename > class Segments,
          typename RealAllocator,
          typename IndexAllocator >
__cuda_callable__
Index
SparseMatrix< Real, Device, Index, MatrixType, Segments, RealAllocator, IndexAllocator >::
getRowCapacity( const IndexType row ) const
+1 −0
Original line number Diff line number Diff line
@@ -83,6 +83,7 @@ class SparseMatrixView : public MatrixView< Real, Device, Index >
      template< typename Vector >
      void getCompressedRowLengths( Vector& rowLengths ) const;

      __cuda_callable__
      IndexType getRowCapacity( const IndexType row ) const;

      IndexType getNumberOfNonzeroMatrixElements() const;
+1 −0
Original line number Diff line number Diff line
@@ -134,6 +134,7 @@ template< typename Real,
          typename Index,
          typename MatrixType,
          template< typename, typename > class SegmentsView >
__cuda_callable__
Index
SparseMatrixView< Real, Device, Index, MatrixType, SegmentsView >::
getRowCapacity( const IndexType row ) const