Go to the documentation of this file.
18 #define DEVICE __device__
30 #define GLOBAL __global__
35 #if defined(__CUDACC__) && __CUDACC_VER_MAJOR__ < 8
38 #define STATIC_QUAL static
42 #define FORCE_INLINE __forceinline__
43 #elif defined(_MSC_VER)
44 #define FORCE_INLINE __forceinline
46 #define FORCE_INLINE inline __attribute__((always_inline))
49 #if defined(__CUDACC__) || (defined(__GNUC__) && defined(__SANITIZE_THREAD__)) || \
50 defined(WITH_JIT_DEBUG)
52 #elif defined(ENABLE_EMBEDDED_DATABASE)
53 #define ALWAYS_INLINE \
54 __attribute__((always_inline)) __attribute__((__visibility__("hidden")))
55 #elif defined(_MSC_VER)
56 #define ALWAYS_INLINE __inline
58 #define ALWAYS_INLINE __attribute__((always_inline))
63 #elif defined(_MSC_VER)
64 #define NEVER_INLINE __declspec(noinline)
66 #define NEVER_INLINE __attribute__((noinline))
70 #define SUFFIX(name) name##_gpu
72 #define SUFFIX(name) name