Go to the documentation of this file.
27 #ifndef bits_gpulog_debug_h__
28 #define bits_gpulog_debug_h__
44 #define DHOST(x) DBG(x)
47 #define dev_assert(x) assert(x)
51 #if __DEVICE_EMULATION__
52 #define DGPU(x) DBG(x)
54 #define dev_assert(x) { if(!(x)) { printf("Assertion failed: " #x "\n"); exit(-1); } }
62 #endif // bits_gpulog_debug_h