37 #include <hip/hip_runtime.h>
51 const dim3 nthrds(1024, 1, 1);
52 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
55 HIP_KERNEL_NAME(smooth_step_kernel<real>), nblcks, nthrds, 0,
73 const dim3 nthrds(1024, 1, 1);
74 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
77 HIP_KERNEL_NAME(step_kernel<real>), nblcks, nthrds, 0,
91 const dim3 nthrds(1024, 1, 1);
92 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
95 HIP_KERNEL_NAME(permeability_kernel<real>), nblcks, nthrds, 0,
__global__ void const T *__restrict__ x
void hip_step_function(void *x, real *edge, real *left, real *right, int *n)
void hip_permeability(void *x, real *k_0, real *k_1, real *q, int *n)
void hip_smooth_step(void *x, real *edge0, real *edge1, int *n)