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);
65 const dim3 nthrds(1024, 1, 1);
66 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
77 void *ta3,
real *dtbd,
int *n) {
79 const dim3 nthrds(1024, 1, 1);
80 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
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);
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ h1
__global__ void prs_res_part3_kernel(T *__restrict__ p_res, const T *__restrict__ ta1, const T *__restrict__ ta2, const T *__restrict__ ta3, const T dtbd, const int n)
__global__ void prs_res_part2_kernel(T *__restrict__ p_res, const T *__restrict__ wa1, const T *__restrict__ wa2, const T *__restrict__ wa3, const int n)
__global__ void prs_res_part1_kernel(T *__restrict__ ta1, T *__restrict__ ta2, T *__restrict__ ta3, const T *__restrict__ wa1, const T *__restrict__ wa2, const T *__restrict__ wa3, const T *__restrict__ f_u, const T *__restrict__ f_v, const T *__restrict__ f_w, const T *__restrict__ B, T *__restrict__ h1, const T mu, const T rho, const int n)
__global__ void vel_res_update_kernel(T *__restrict__ u_res, T *__restrict__ v_res, T *__restrict__ w_res, const T *__restrict__ ta1, const T *__restrict__ ta2, const T *__restrict__ ta3, const T *__restrict__ f_u, const T *__restrict__ f_v, const T *__restrict__ f_w, const int n)
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)