Loading src/implementation/matrices/tnlBiEllpackMatrix_impl.h +336 −192 File changed.Preview size limit exceeded, changes collapsed. Show changes src/matrices/tnlBiEllpackMatrix.h +15 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ template< typename Device > class tnlBiEllpackMatrixDeviceDependentCode; template< typename Real, typename Device = tnlCuda, typename Index = int > template< typename Real, typename Device = tnlCuda, typename Index = int, int StripSize = 32 > class tnlBiEllpackMatrix : public tnlSparseMatrix< Real, Device, Index > { public: Loading @@ -34,6 +34,9 @@ public: IndexType getRowLength( const IndexType row ) const; template< typename Real2, typename Device2, typename Index2 > bool setLike( const tnlBiEllpackMatrix< Real2, Device2, Index2, StripSize >& matrix ); void getRowLengths( tnlVector< IndexType, DeviceType, IndexType >& rowLengths ) const; bool setElement( const IndexType row, Loading Loading @@ -95,6 +98,17 @@ public: void print( ostream& str ) const; #ifdef HAVE_CUDA template< typename InVector, typename OutVector, int warpSize> __device__ void spmvCuda( const InVector& inVector, OutVector& outVector, const IndexType warpStart, const IndexType inWarpIdx ) const; #endif typedef tnlBiEllpackMatrixDeviceDependentCode< DeviceType > DeviceDependentCode; friend class tnlBiEllpackMatrixDeviceDependentCode< DeviceType >; Loading Loading
src/implementation/matrices/tnlBiEllpackMatrix_impl.h +336 −192 File changed.Preview size limit exceeded, changes collapsed. Show changes
src/matrices/tnlBiEllpackMatrix.h +15 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ template< typename Device > class tnlBiEllpackMatrixDeviceDependentCode; template< typename Real, typename Device = tnlCuda, typename Index = int > template< typename Real, typename Device = tnlCuda, typename Index = int, int StripSize = 32 > class tnlBiEllpackMatrix : public tnlSparseMatrix< Real, Device, Index > { public: Loading @@ -34,6 +34,9 @@ public: IndexType getRowLength( const IndexType row ) const; template< typename Real2, typename Device2, typename Index2 > bool setLike( const tnlBiEllpackMatrix< Real2, Device2, Index2, StripSize >& matrix ); void getRowLengths( tnlVector< IndexType, DeviceType, IndexType >& rowLengths ) const; bool setElement( const IndexType row, Loading Loading @@ -95,6 +98,17 @@ public: void print( ostream& str ) const; #ifdef HAVE_CUDA template< typename InVector, typename OutVector, int warpSize> __device__ void spmvCuda( const InVector& inVector, OutVector& outVector, const IndexType warpStart, const IndexType inWarpIdx ) const; #endif typedef tnlBiEllpackMatrixDeviceDependentCode< DeviceType > DeviceDependentCode; friend class tnlBiEllpackMatrixDeviceDependentCode< DeviceType >; Loading