Neko 1.99.11
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
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)

Functions

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

Macro Definition Documentation

◆ CUDA_CHECK

#define CUDA_CHECK ( err)
Value:
cuda_check(__FILE__, __LINE__, err)
void cuda_check(const char *fname, const int line, const cudaError_t err)
Definition check.cu:7

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.