#include "Types.h"
#include <TNL/Exceptions/BackendRuntimeError.h>
|
namespace | TNL |
| The main TNL namespace.
|
|
namespace | TNL::Backend |
| Internal namespace for CUDA/HIP backend support.
|
|
|
#define | __cuda_callable__ |
|
#define | TNL_BACKEND_SAFE_CALL(call) |
|
#define | TNL_CHECK_CUDA_DEVICE ::TNL::Backend::checkErrorCode( __FILE__, __LINE__, cudaGetLastError() ) |
|
#define | TNL_NVCC_HD_WARNING_DISABLE |
|
|
void | TNL::Backend::checkErrorCode (const char *file_name, int line, error_t error) |
|
◆ __cuda_callable__
#define __cuda_callable__ |
Value:This macro serves for annotating functions which are supposed to be called even from the GPU device. If __CUDACC__
or __HIP__
is defined, functions annotated with __cuda_callable__
are compiled for both CPU and GPU. If neither __CUDACC__
or __HIP__
is not defined, this macro has no effect.
◆ TNL_BACKEND_SAFE_CALL
#define TNL_BACKEND_SAFE_CALL |
( |
| call | ) |
|
Value:::TNL::Backend::checkErrorCode( __FILE__, __LINE__, call )