Macros | |
| #define | ein_host | 
portable __host__ for CUDA   | |
| #define | ein_device | 
portable __device__ for CUDA   | |
| #define | ein_hd ein_host ein_device | 
| applies both ein_host and ein_device   | |
| #define | ein_global | 
portable __global__ for CUDA   | |
| #define ein_device | 
| #define ein_global | 
| #define ein_hd ein_host ein_device | 
applies both ein_host and ein_device
most functions in the library should be defined this way
may eventually add similar annotations for sycl and the like