Neko 1.99.5
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 ale_add_kinematics_kernel(const int n, T *__restrict__ wx, T *__restrict__ wy, T *__restrict__ wz, const T *__restrict__ x_ref, const T *__restrict__ y_ref, const T *__restrict__ z_ref, const T *__restrict__ phi, const T *__restrict__ x, const T *__restrict__ y, const T *__restrict__ z, const kinematics_params_t kin_params)
void hip_check(const char *fname, const int line, const hipError_t err)
Definition check.hip:8