Commit 20459748 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber Committed by Tomáš Oberhuber
Browse files

Uncommenting sparse matrix assignment code for the same devices.

parent 488faa31
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -688,7 +688,7 @@ operator=( const RHSMatrix& matrix )
   auto rowLocalIndexes_view = rowLocalIndexes.getView();
   columns_view = paddingIndex;

   /*if( std::is_same< DeviceType, RHSDeviceType >::value )
   if( std::is_same< DeviceType, RHSDeviceType >::value )
   {
      const auto segments_view = this->segments.getView();
      auto f = [=] __cuda_callable__ ( RHSIndexType rowIdx, RHSIndexType localIdx_, RHSIndexType columnIndex, const RHSRealType& value, bool& compute ) mutable {
@@ -703,7 +703,7 @@ operator=( const RHSMatrix& matrix )
      };
      matrix.forAllRows( f );
   }
   else*/
   else
   {
      const IndexType maxRowLength = max( rowLengths );
      const IndexType bufferRowsCount( 128 );