46 void *area,
int *lx,
int *m,
49 const dim3 nthrds(1024, 1, 1);
50 const dim3 nblcks(((*m) + 1024 - 1)/ 1024, 1, 1);
53 <<<nblcks, nthrds, 0, strm>>>((
int *) msk,
67 void *
x,
void *y,
void *z,
68 void *flux_x,
void *flux_y,
void *flux_z,
69 void *area,
int *lx,
int *m,
72 const dim3 nthrds(1024, 1, 1);
73 const dim3 nblcks(((*m) + 1024 - 1)/ 1024, 1, 1);
76 <<<nblcks, nthrds, 0, strm>>>((
int *) msk,
__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 cuda_neumann_apply_scalar(void *msk, void *facet, void *x, void *flux, void *area, int *lx, int *m, cudaStream_t strm)
void cuda_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, cudaStream_t strm)