35 #include <hip/hip_runtime.h>
45 void *wa1,
void *wa2,
void *wa3,
46 void *f_u,
void *f_v,
void *f_w,
47 void *B,
void *
h1,
real *mu,
50 const dim3 nthrds(1024, 1, 1);
51 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
53 hipLaunchKernelGGL(HIP_KERNEL_NAME( prs_res_part1_kernel<real> ),
65 const dim3 nthrds(1024, 1, 1);
66 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
68 hipLaunchKernelGGL(HIP_KERNEL_NAME( prs_res_part2_kernel<real> ),
77 void *ta3,
real *dtbd,
int *n) {
79 const dim3 nthrds(1024, 1, 1);
80 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
82 hipLaunchKernelGGL(HIP_KERNEL_NAME( prs_res_part3_kernel<real> ),
85 (
real *) ta3, *dtbd, *n);
91 void *ta1,
void *ta2,
void *ta3,
92 void *f_u,
void *f_v,
void *f_w,
int *n) {
94 const dim3 nthrds(1024, 1, 1);
95 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
97 hipLaunchKernelGGL(HIP_KERNEL_NAME( vel_res_update_kernel<real> ),
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ h1
void pnpn_prs_res_part2_hip(void *p_res, void *wa1, void *wa2, void *wa3, int *n)
void pnpn_vel_res_update_hip(void *u_res, void *v_res, void *w_res, void *ta1, void *ta2, void *ta3, void *f_u, void *f_v, void *f_w, int *n)
void pnpn_prs_res_part3_hip(void *p_res, void *ta1, void *ta2, void *ta3, real *dtbd, int *n)
void pnpn_prs_res_part1_hip(void *ta1, void *ta2, void *ta3, void *wa1, void *wa2, void *wa3, void *f_u, void *f_v, void *f_w, void *B, void *h1, real *mu, real *rho, int *n)