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

Adding abort to tnlAssert for CUDA kernels.

parent b577e27c
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ set( tnlVersion "0.1" )
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
#include( OptimizeForArchitecture )
include( OptimizeForArchitecture )
include( UseCodeCoverage )
####
......
......@@ -38,7 +38,7 @@ using namespace std;
__STRING( ___tnl__assert_condition ), \
__FILE__, \
__LINE__ ); \
abort(); \
asm("trap;") \
}
#else
......
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