Neko  0.9.99
A portable framework for high-order spectral element flow simulations
check.h File Reference
#include <hip/hip_runtime.h>
Include dependency graph for check.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define HIP_CHECK(err)   hip_check(__FILE__, __LINE__, err)
 

Functions

void hip_check (const char *fname, const int line, const hipError_t err)
 

Macro Definition Documentation

◆ HIP_CHECK

#define HIP_CHECK (   err)    hip_check(__FILE__, __LINE__, err)

Definition at line 8 of file check.h.

Function Documentation

◆ hip_check()

void hip_check ( const char *  fname,
const int  line,
const hipError_t  err 
)

Check a HIP return code

Definition at line 8 of file check.hip.