35#include <hip/hip_runtime.h>
47 void *area,
int *lx,
int *m,
50 const dim3 nthrds(1024, 1, 1);
51 const dim3 nblcks(((*m) + 1024 - 1)/ 1024, 1, 1);
54 nblcks, nthrds, 0, strm,
55 (
int *) msk, (
int *) facet,
57 (
real *) area, *lx, *m);
65 void *
x,
void *y,
void *z,
66 void *flux_x,
void *flux_y,
void *flux_z,
67 void *area,
int *lx,
int *m,
70 const dim3 nthrds(1024, 1, 1);
71 const dim3 nblcks(((*m) + 1024 - 1)/ 1024, 1, 1);
74 nblcks, nthrds, 0, strm,
75 (
int *) msk, (
int *) facet,
82 (
real *) area, *lx, *m);
__global__ void const T *__restrict__ x
__global__ void neumann_apply_vector_kernel(const int *__restrict__ msk, const int *__restrict__ facet, T *__restrict__ x, T *__restrict__ y, T *__restrict__ z, const T *__restrict__ flux_x, const T *__restrict__ flux_y, const T *__restrict__ flux_z, const T *__restrict__ area, const int lx, const int m)
__global__ void neumann_apply_scalar_kernel(const int *__restrict__ msk, const int *__restrict__ facet, T *__restrict__ x, const T *__restrict__ flux, const T *__restrict__ area, const int lx, const int m)
void hip_neumann_apply_vector(void *msk, void *facet, void *x, void *y, void *z, void *flux_x, void *flux_y, void *flux_z, void *area, int *lx, int *m, hipStream_t strm)
void hip_neumann_apply_scalar(void *msk, void *facet, void *x, void *flux, void *area, int *lx, int *m, hipStream_t strm)