Neko  0.9.99
A portable framework for high-order spectral element flow simulations
check.h
Go to the documentation of this file.
1 #ifndef __HIP_CHECK_H
2 #define __HIP_CHECK_H
3 
4 #include <hip/hip_runtime.h>
5 
6 void hip_check(const char *fname, const int line, const hipError_t err);
7 
8 #define HIP_CHECK(err) hip_check(__FILE__, __LINE__, err)
9 
10 #endif
void hip_check(const char *fname, const int line, const hipError_t err)
Definition: check.hip:8