35 #include <hip/hip_runtime.h>
47 const dim3 nthrds(1024, 1, 1);
48 const dim3 nblcks(((*m)+1024 - 1)/ 1024, 1, 1);
50 hipLaunchKernelGGL(HIP_KERNEL_NAME(no_slip_wall_apply_scalar_kernel<real>),
52 (
int *) msk, (
real *)
x, *m);
62 const dim3 nthrds(1024, 1, 1);
63 const dim3 nblcks(((*m)+1024 - 1)/ 1024, 1, 1);
65 hipLaunchKernelGGL(HIP_KERNEL_NAME(no_slip_wall_apply_vector_kernel<real>),
__global__ void const T *__restrict__ x
void hip_no_slip_wall_apply_vector(void *msk, void *x, void *y, void *z, int *m)
void hip_no_slip_wall_apply_scalar(void *msk, void *x, int *m)