Blame view

stim/cuda/cudatools/callable.h 288 Bytes
f1402849   dmayerich   renewed commit
1
2
3
4
  #ifndef CUDA_CALLABLE
  
  //define the CUDA_CALLABLE macro (will prefix all members)
  #ifdef __CUDACC__
9339fbad   David Mayerich   implementing mie ...
5
  #define CUDA_CALLABLE __host__ __device__ inline
f1402849   dmayerich   renewed commit
6
7
8
9
  #else
  #define CUDA_CALLABLE
  #endif
  
654c8934   David Mayerich   CUDA_CALLABLE fix...
10
11
12
13
14
15
  #ifdef __CUDACC__
  #define CUDA_UNCALLABLE __host__ inline
  #else
  #define CUDA_UNCALLABLE
  #endif
  
f1402849   dmayerich   renewed commit
16
  #endif