56 const dim3 nblcks(((*n)+1024 - 1)/ 1024, 1, 1);
69 const dim3 nblcks(((*n)+1024 - 1)/ 1024, 1, 1);
80 void *alpha_d ,
real *alpha,
int *
p_cur,
int * n) {
83 const dim3 nblcks(((*n)+1024 - 1)/ 1024, 1, 1);
84 const int nb = ((*n) + 1024 - 1)/ 1024;
117#ifdef HAVE_DEVICE_MPI
__global__ void const T *__restrict__ x
__global__ void dirichlet_apply_scalar_kernel(const int *__restrict__ msk, T *__restrict__ x, const T g, const int m)
void device_mpi_allreduce(void *buf_d, void *buf, int count, int nbytes, int op)
real cuda_fusedcg_part2(void *a, void *b, void *c, void *alpha_d, real *alpha, int *p_cur, int *n)
void cuda_fusedcg_update_x(void *x, void *p, void *alpha, int *p_cur, int *n)
void cuda_fusedcg_update_p(void *p, void *z, void *po, real *beta, int *n)