Template Numerical Library version\ main:b780a9f
Loading...
Searching...
No Matches
Macros
CudaCallable.h File Reference

Macros

#define __cuda_callable__   __device__ __host__
 

Macro Definition Documentation

◆ __cuda_callable__

#define __cuda_callable__   __device__ __host__

This macro serves for annotating functions which are supposed to be called even from the GPU device. If CUDACC is defined, functions annotated with __cuda_callable__ are compiled for both CPU and GPU. If CUDACC is not defined, this macro has no effect.