Loading src/TNL/Matrices/CSR.h +1 −5 Original line number Diff line number Diff line Loading @@ -83,14 +83,10 @@ public: __cuda_callable__ IndexType getRowLengthFast( const IndexType row ) const; #ifdef HAVE_CUDA //__device__ //void getNonZeroRowLengthCudaKernel( const MatrixRow row, typename MatrixRow::IndexType* result ); IndexType getNonZeroRowLength( const IndexType row ) const; IndexType getNonZeroRowLengthFast( const IndexType row ) const; #endif template< typename Real2, typename Device2, typename Index2 > void setLike( const CSR< Real2, Device2, Index2 >& matrix ); Loading src/TNL/Matrices/CSR_impl.h +1 −0 Original line number Diff line number Diff line Loading @@ -138,6 +138,7 @@ Index CSR< Real, Device, Index >::getNonZeroRowLength( const IndexType row ) con { // TODO: Fix/Implement TNL_ASSERT( false, std::cerr << "TODO: Fix/Implement" ); return 0; // if( std::is_same< DeviceType, Devices::Host >::value ) // { // ConstMatrixRow matrixRow = this->getRow( row ); Loading src/TNL/Matrices/SparseRow_impl.h +1 −0 Original line number Diff line number Diff line Loading @@ -135,6 +135,7 @@ getNonZeroElementsCount() const { // TODO: Fix/Implement TNL_ASSERT( false, std::cerr << "TODO: Fix/Implement" ); return 0; // using NonConstIndex = typename std::remove_const< Index >::type; // // NonConstIndex elementCount ( 0 ); Loading Loading
src/TNL/Matrices/CSR.h +1 −5 Original line number Diff line number Diff line Loading @@ -83,14 +83,10 @@ public: __cuda_callable__ IndexType getRowLengthFast( const IndexType row ) const; #ifdef HAVE_CUDA //__device__ //void getNonZeroRowLengthCudaKernel( const MatrixRow row, typename MatrixRow::IndexType* result ); IndexType getNonZeroRowLength( const IndexType row ) const; IndexType getNonZeroRowLengthFast( const IndexType row ) const; #endif template< typename Real2, typename Device2, typename Index2 > void setLike( const CSR< Real2, Device2, Index2 >& matrix ); Loading
src/TNL/Matrices/CSR_impl.h +1 −0 Original line number Diff line number Diff line Loading @@ -138,6 +138,7 @@ Index CSR< Real, Device, Index >::getNonZeroRowLength( const IndexType row ) con { // TODO: Fix/Implement TNL_ASSERT( false, std::cerr << "TODO: Fix/Implement" ); return 0; // if( std::is_same< DeviceType, Devices::Host >::value ) // { // ConstMatrixRow matrixRow = this->getRow( row ); Loading
src/TNL/Matrices/SparseRow_impl.h +1 −0 Original line number Diff line number Diff line Loading @@ -135,6 +135,7 @@ getNonZeroElementsCount() const { // TODO: Fix/Implement TNL_ASSERT( false, std::cerr << "TODO: Fix/Implement" ); return 0; // using NonConstIndex = typename std::remove_const< Index >::type; // // NonConstIndex elementCount ( 0 ); Loading