44 void *uu,
void *vv,
void *ww,
45 void *ulag1,
void *ulag2,
void *vlag1,
46 void *vlag2,
void *wlag1,
void *wlag2,
49 const dim3 nthrds(1024, 1, 1);
50 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
58 *ab1, *ab2, *ab3, *nab, *n);
63 void *abx2,
void *aby2,
void *abz2,
64 void *bfx,
void *bfy,
void *bfz,
67 const dim3 nthrds(1024, 1, 1);
68 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
72 <<<nblcks, nthrds, 0, stream>>>((
real *) abx1, (
real *) aby1,
76 (
real *) bfz, *rho, *ab1,
85 const dim3 nthrds(1024, 1, 1);
86 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
89 scalar_makeext_kernel<real>
90 <<<nblcks, nthrds, 0, stream>>>((
real *) fs_lag,
93 *rho, *ext1, *ext2, *ext3, *n);
98 void *vlag2,
void *wlag1,
void *wlag2,
99 void *bfx,
void *bfy,
void *bfz,
100 void *
u,
void *
v,
void *
w,
void *B,
102 real *bd3,
real *bd4,
int *nbd,
int *n) {
104 const dim3 nthrds(1024, 1, 1);
105 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
109 <<<nblcks, nthrds, 0, stream>>>((
real *) ulag1, (
real *) ulag2,
115 *bd2, *bd3, *bd4, *nbd, *n);
123 real *bd3,
real *bd4,
int *nbd,
int *n) {
125 const dim3 nthrds(1024, 1, 1);
126 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
129 scalar_makebdf_kernel<real>
130 <<<nblcks, nthrds, 0, stream>>>((
real *) s_lag,
135 *rho, *
dt, *bd2, *bd3, *bd4, *nbd, *n);
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ w
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ u
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ v
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dt
void scalar_rhs_maker_bdf_cuda(void *s_lag, void *s_laglag, void *fs, void *s, void *B, real *rho, real *dt, real *bd2, real *bd3, real *bd4, int *nbd, int *n)
void rhs_maker_ext_cuda(void *abx1, void *aby1, void *abz1, void *abx2, void *aby2, void *abz2, void *bfx, void *bfy, void *bfz, real *rho, real *ab1, real *ab2, real *ab3, int *n)
void rhs_maker_bdf_cuda(void *ulag1, void *ulag2, void *vlag1, void *vlag2, void *wlag1, void *wlag2, void *bfx, void *bfy, void *bfz, void *u, void *v, void *w, void *B, real *rho, real *dt, real *bd2, real *bd3, real *bd4, int *nbd, int *n)
void scalar_rhs_maker_ext_cuda(void *fs_lag, void *fs_laglag, void *fs, real *rho, real *ext1, real *ext2, real *ext3, int *n)
void rhs_maker_sumab_cuda(void *u, void *v, void *w, void *uu, void *vv, void *ww, void *ulag1, void *ulag2, void *vlag1, void *vlag2, void *wlag1, void *wlag2, real *ab1, real *ab2, real *ab3, int *nab, int *n)