 |
NEURON
|
Go to the documentation of this file. 32 #ifndef __r123_nvcc_features_dot_h__ 33 #define __r123_nvcc_features_dot_h__ 35 #if !defined(CUDART_VERSION) 36 #error "why are we in nvccfeatures.h if CUDART_VERSION is not defined" 39 #if CUDART_VERSION < 4010 40 #error "CUDA versions earlier than 4.1 produce incorrect results for some templated functions in namespaces. Random123 isunsupported. See comments in nvccfeatures.h" 57 #ifndef R123_CUDA_DEVICE 58 #define R123_CUDA_DEVICE __device__ 61 #ifndef R123_USE_MULHILO64_CUDA_INTRIN 62 #define R123_USE_MULHILO64_CUDA_INTRIN 1 66 #define R123_ASSERT(x) if((x)) ; else asm("trap;") 69 #ifndef R123_BUILTIN_EXPECT 70 #define R123_BUILTIN_EXPECT(expr,likely) expr 73 #ifndef R123_USE_AES_NI 74 #define R123_USE_AES_NI 0 77 #ifndef R123_USE_SSE4_2 78 #define R123_USE_SSE4_2 0 81 #ifndef R123_USE_SSE4_1 82 #define R123_USE_SSE4_1 0 86 #define R123_USE_SSE 0 89 #ifndef R123_USE_GNU_UINT128 90 #define R123_USE_GNU_UINT128 0 93 #ifndef R123_ULONG_LONG 96 #define R123_ULONG_LONG unsigned long long 101 #define R123_THROW(x) R123_ASSERT(0) 104 #if defined(__GNUC__) 106 #elif defined(_MSC_FULL_VER)