Commit 330ea8e4 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Adding abort to tnlAssert for CUDA kernels.

parent b577e27c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ set( tnlVersion "0.1" )

set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")

#include( OptimizeForArchitecture )
include( OptimizeForArchitecture )
include( UseCodeCoverage )

####
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ using namespace std;
           __STRING( ___tnl__assert_condition ),                                                         \
           __FILE__,                                                                                     \
           __LINE__ );                                                                                   \
    abort();                                                                   \
   asm("trap;")                                                              \
   }

#else