Commit 3305abd6 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Adding matrix formats test for CUDA.

parent f7e38edf
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -2,10 +2,17 @@ set( ENABLE_CODECOVERAGE )

SET( headers matrix-formats-test.h )

if( BUILD_CUDA )
    CUDA_ADD_EXECUTABLE( tnl-test-matrix-formats${mpiExt}${debugExt} ${headers} matrix-formats-test.cu
                         OPTIONS ${CUDA_ADD_EXECUTABLE_OPTIONS} )
else()
   ADD_EXECUTABLE( tnl-test-matrix-formats${mpiExt}${debugExt} ${headers} matrix-formats-test.cpp )                                                                   
endif()

TARGET_LINK_LIBRARIES( tnl-test-matrix-formats${mpiExt}${debugExt} ${CPPUNIT_LIBRARIES}
                                                                   tnl${mpiExt}${debugExt}-0.1 )


INSTALL( TARGETS tnl-test-matrix-formats${debugExt}
         RUNTIME DESTINATION bin
         PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE )
+18 −0
Original line number Diff line number Diff line
/***************************************************************************
                          matrix-formats-test.cu  -  description
                             -------------------
    begin                : Dec 14, 2013
    copyright            : (C) 2013 by Tomas Oberhuber
    email                : tomas.oberhuber@fjfi.cvut.cz
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#include "matrix-formats-test.h"
 No newline at end of file