51 const dim3 nthrds(1024, 1, 1);
52 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
55 smooth_step_kernel<real><<<nblcks, nthrds, 0, stream>>>(
56 (
real *)
x, *edge0, *edge1, *n);
73 const dim3 nthrds(1024, 1, 1);
74 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
77 step_kernel<real><<<nblcks, nthrds, 0, stream>>>(
78 (
real *)
x, *edge, *left, *right, *n);
91 const dim3 nthrds(1024, 1, 1);
92 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
95 permeability_kernel<real><<<nblcks, nthrds, 0, stream>>>(
96 (
real *)
x, *k_0, *k_1, *q, *n);
__global__ void const T *__restrict__ x
void cuda_smooth_step(void *x, real *edge0, real *edge1, int *n)
void cuda_permeability(void *x, real *k_0, real *k_1, real *q, int *n)
void cuda_step_function(void *x, real *edge, real *left, real *right, int *n)