Namespaces | Macros | Functions
safe_call.hpp File Reference
#include "cuda_runtime_api.h"
Include dependency graph for safe_call.hpp:
This graph shows which files directly or indirectly include this file:

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...
 

Macro Definition Documentation

◆ cudaSafeCall

#define cudaSafeCall (   expr)    kfusion::cuda::___cudaSafeCall(expr, __FILE__, __LINE__)

Definition at line 16 of file safe_call.hpp.



lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Mon Feb 28 2022 22:46:10