cuda-api-wrappers
Thin C++-flavored wrappers for the CUDA Runtime API
define_specifiers.hpp
Go to the documentation of this file.
1
9
12
#ifdef __CUDACC__
13
14
#ifndef CUDA_FD
15
#define CUDA_FD __forceinline__ __device__
16
#endif
17
18
#ifndef CUDA_FH
19
#define CUDA_FH __forceinline__ __host__
20
#endif
21
22
#ifndef CUDA_FHD
23
#define CUDA_FHD __forceinline__ __host__ __device__
24
#endif
25
26
#ifndef CUDA_HD
27
#define CUDA_HD __host__ __device__
28
#endif
29
30
#ifndef CUDA_D
31
#define CUDA_D __device__
32
#endif
33
34
#ifndef CUDA_H
35
#define CUDA_H __host__
36
#endif
37
38
#else // __CUDACC__
39
40
#ifndef CUDA_FD
41
#define CUDA_FD inline
42
#endif
43
44
#ifndef CUDA_FH
45
#define CUDA_FH inline
46
#endif
47
48
#ifndef CUDA_FHD
49
#define CUDA_FHD inline
50
#endif
51
52
#ifndef CUDA_HD
53
#define CUDA_HD
54
#endif
55
56
#ifndef CUDA_D
57
#define CUDA_D
58
#endif
59
60
#ifndef CUDA_H
61
#define CUDA_H
62
#endif
63
65
#endif // __CUDACC__
src
cuda
define_specifiers.hpp
Generated by
1.8.13