Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:15:44

0001 // The omission of #include guards is on purpose: it does make sense to #include
0002 // this file multiple times, setting a different value of GPU_DEBUG beforehand.
0003 
0004 #ifdef __CUDA_ARCH__
0005 #ifndef GPU_DEBUG
0006 // disable asserts
0007 #ifndef NDEBUG
0008 #define NDEBUG
0009 #endif
0010 #else
0011 // enable asserts
0012 #ifdef NDEBUG
0013 #undef NDEBUG
0014 #endif
0015 #endif
0016 #endif  // __CUDA_ARCH__
0017 
0018 #include <cassert>