Skip to content
Snippets Groups Projects
Commit 8ae66b7a authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Fixing small bug in tnlMatrix.

parent 4bead8e6
No related branches found
No related tags found
No related merge requests found
......@@ -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`
......
......@@ -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;
......
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment