Neko  0.9.99
A portable framework for high-order spectral element flow simulations
check.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CUDA_CHECK(err)   cuda_check(__FILE__, __LINE__, err)
 

Functions

void cuda_check (const char *fname, const int line, const cudaError_t err)
 

Macro Definition Documentation

◆ CUDA_CHECK

#define CUDA_CHECK (   err)    cuda_check(__FILE__, __LINE__, err)

Definition at line 6 of file check.h.

Function Documentation

◆ cuda_check()

void cuda_check ( const char *  fname,
const int  line,
const cudaError_t  err 
)

Check a CUDA return code

Definition at line 7 of file check.cu.