Blame view

stim/cuda/cudatools/callable.h 185 Bytes
f1402849   dmayerich   renewed commit
1
2
3
4
5
6
7
8
9
10
  #ifndef CUDA_CALLABLE
  
  //define the CUDA_CALLABLE macro (will prefix all members)
  #ifdef __CUDACC__
  #define CUDA_CALLABLE __host__ __device__
  #else
  #define CUDA_CALLABLE
  #endif
  
  #endif