Commit 8ae66b7a authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Fixing small bug in tnlMatrix.

parent 4bead8e6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2,11 +2,11 @@

TARGET=TNL
INSTALL_PREFIX=${HOME}/local
WITH_CUDA=yes
WITH_CUDA=no
WITH_CUSPARSE=no
CUDA_ARCHITECTURE=2.0
TEMPLATE_EXPLICIT_INSTANTIATION=yes
VERBOSE="VERBOSE=1"
#VERBOSE="VERBOSE=1"

CMAKE="cmake"
CPUS=`grep -c processor /proc/cpuinfo`
+1 −1
Original line number Diff line number Diff line
@@ -137,7 +137,7 @@ bool tnlMatrix< Real, Device, Index >::save( tnlFile& file ) const
   if( ! tnlObject::save( file ) ||
       ! file.write( &this->rows ) ||
       ! file.write( &this->columns ) ||
       ! this->values.save>( file ) )
       ! this->values.save( file ) )
      return false;
#endif      
   return true;
+1 −2
Original line number Diff line number Diff line
@@ -23,8 +23,7 @@ if( BUILD_CUDA )
    TARGET_LINK_LIBRARIES( tnl-unit-tests${mpiExt}${debugExt} ${CPPUNIT_LIBRARIES}
                                                              tnl${mpiExt}${debugExt}-0.1 )
else()
    ADD_EXECUTABLE( tnl-unit-tests${mpiExt}${debugExt} ${headers} tnl-unit-tests.cpp 
                    OPTIONS -arch sm_20 -shared )
    ADD_EXECUTABLE( tnl-unit-tests${mpiExt}${debugExt} ${headers} tnl-unit-tests.cpp )
    TARGET_LINK_LIBRARIES( tnl-unit-tests${mpiExt}${debugExt} ${CPPUNIT_LIBRARIES}
                                                              tnl${mpiExt}${debugExt}-0.1 )
endif()