一呼百應, "one call, a hundred responses"
Loading...
Searching...
No Matches
Collaboration diagram for CUDA:

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
 

Detailed Description

Macro Definition Documentation

◆ ein_device

#define ein_device

portable __device__ for CUDA

indicates the function should be available on the device

Definition at line 62 of file cuda.hpp.

◆ ein_global

#define ein_global

portable __global__ for CUDA

indicates the function is a global entry point for a compute kernel

Definition at line 63 of file cuda.hpp.

◆ ein_hd

#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

Definition at line 66 of file cuda.hpp.

◆ ein_host

#define ein_host

portable __host__ for CUDA

indicates the function should be available on the host

Definition at line 61 of file cuda.hpp.