51 const dim3 nthrds(1024, 1, 1);
52 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
56 (
real *)
x, *edge0, *edge1, *n);
73 const dim3 nthrds(1024, 1, 1);
74 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
78 (
real *)
x, *edge, *left, *right, *n);
91 const dim3 nthrds(1024, 1, 1);
92 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
96 (
real *)
x, *k_0, *k_1, *q, *n);
__global__ void const T *__restrict__ x
__global__ void permeability_kernel(T *__restrict__ x, const T k_0, const T k_1, const T q, const int n)
__global__ void smooth_step_kernel(T *__restrict__ x, const T edge0, const T edge1, const int n)
__global__ void step_kernel(T *__restrict__ x, const T edge, const T left, const T right, const int n)
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)