Hint 0.1.0
Loading...
Searching...
No Matches
Macros

Macros

#define hint_host
 portable __host__ for CUDA
 
#define hint_device
 portable __device__ for CUDA
 
#define hint_hd   hint_host hint_device
 applies both hint_host and hint_device
 
#define hint_global
 portable __global__ for CUDA
 

Detailed Description

Macro Definition Documentation

◆ hint_device

#define hint_device

portable __device__ for CUDA

indicates the function should be available on the device

◆ hint_global

#define hint_global

portable __global__ for CUDA

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

◆ hint_hd

#define hint_hd   hint_host hint_device

applies both hint_host and hint_device

most functions in the library should be defined this way

may eventually add similar annotations for sycl and the like

◆ hint_host

#define hint_host

portable __host__ for CUDA

indicates the function should be available on the host