#include "cuda_runtime_api.h"
Go to the source code of this file.
Namespaces | |
kfusion | |
Utility. | |
kfusion::cuda | |
kfusion::device | |
Macros | |
#define | cudaSafeCall(expr) kfusion::cuda::___cudaSafeCall(expr, __FILE__, __LINE__) |
Functions | |
static void | kfusion::cuda::___cudaSafeCall (cudaError_t err, const char *file, const int line, const char *func="") |
static int | kfusion::cuda::divUp (int total, int grain) |
KF_EXPORTS void | kfusion::cuda::error (const char *error_string, const char *file, const int line, const char *func="") |
Error handler. All GPU functions from this subsystem call the function to report an error. For internal use only. More... | |
#define cudaSafeCall | ( | expr | ) | kfusion::cuda::___cudaSafeCall(expr, __FILE__, __LINE__) |
Definition at line 16 of file safe_call.hpp.