Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
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
6void 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
__global__ void dirichlet_apply_scalar_kernel(const int *__restrict__ msk, T *__restrict__ x, const T g, const int m)
void hip_check(const char *fname, const int line, const hipError_t err)
Definition check.hip:8