35 #include <hip/hip_runtime.h>
46 void *bla_x,
void *bla_y,
void *bla_z,
int *m) {
48 const dim3 nthrds(1024, 1, 1);
49 const dim3 nblcks(((*m)+1024 - 1)/ 1024, 1, 1);
51 hipLaunchKernelGGL(HIP_KERNEL_NAME(inhom_dirichlet_apply_vector_kernel<real>),
62 void *bla_x,
int *m) {
64 const dim3 nthrds(1024, 1, 1);
65 const dim3 nblcks(((*m)+1024 - 1)/ 1024, 1, 1);
67 hipLaunchKernelGGL(HIP_KERNEL_NAME(inhom_dirichlet_apply_scalar_kernel<real>),
68 nblcks, nthrds, 0, 0, (
int *) msk,
__global__ void const T *__restrict__ x
void hip_inhom_dirichlet_apply_vector(void *msk, void *x, void *y, void *z, void *bla_x, void *bla_y, void *bla_z, int *m)
void hip_inhom_dirichlet_apply_scalar(void *msk, void *x, void *bla_x, int *m)