35#include <hip/hip_runtime.h>
46 void *normal_y,
void *normal_z,
47 void *
u,
void *
v,
void *
w,
51 const dim3 nthrds(1024, 1, 1);
52 const dim3 nblcks(((*m)+1024 - 1)/ 1024, 1, 1);
55 nblcks, nthrds, 0, strm,
56 (
int *) msk, (
real *)
x, (
real *) normal_x,
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ w
__global__ void const T *__restrict__ u
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ v
__global__ void const T *__restrict__ x
__global__ void dong_outflow_apply_scalar_kernel(const int *__restrict__ msk, T *__restrict__ x, const T *normal_x, const T *normal_y, const T *normal_z, const T *u, const T *v, const T *w, const T uinf, const T delta, const int m)
void hip_dong_outflow_apply_scalar(void *msk, void *x, void *normal_x, void *normal_y, void *normal_z, void *u, void *v, void *w, real *uinf, real *delta, int *m, hipStream_t strm)