Loading...
Searching...
No Matches
11#define ATTRIB_DISABLE(msg) __attribute(( enable_if(0, msg) ))
16#define ATTRIB_DISABLE(msg) __attribute(( error(msg) ))
20#define CUDA_HOST __host__
21#define CUDA_HOSTDEV __host__ __device__
22#define CUDA_DEV __device__
23#define CUDA_GLOBAL __global__
29#define CUDA_DEV ATTRIB_DISABLE( \
30 "cannot call a __device__ function directly from CPU code")
31#define CUDA_GLOBAL ATTRIB_DISABLE( \
32 "calling a __global__ function (i.e. kernel) " \
33 "is not supported by non-CUDA compilers")
39#define NVCC_HD_WARNING_DISABLE _Pragma("hd_warning_disable")
41#define NVCC_HD_WARNING_DISABLE
45#define STRINGIFY(s) #s
49#if defined(__clang__) || defined(__NVCC__)
50#define PRAGMA_UNROLL _Pragma("unroll")
51#define PRAGMA_UNROLL_COUNT(count) _Pragma(STRINGIFY(unroll count))
54#define PRAGMA_UNROLL_COUNT(count)
Generated for ISCE3.0 by

1.13.2.