43 void *n_x_d,
void *n_y_d,
void *n_z_d,
void *h_d,
44 void *tau_x_d,
void *tau_y_d,
void *tau_z_d,
45 int *n_nodes,
real *kappa,
void *mu_w_d,
void *rho_w_d,
real *g,
47 void *Ri_b_diagn,
void *L_ob_diagn,
void *utau_diagn,
48 void *magu_diagn,
void *ti_diagn,
void *ts_diagn,
void *q_diagn) {
50 const dim3 nthrds(1024, 1, 1);
51 const dim3 nblcks(((*n_nodes) + 1024 - 1) / 1024, 1, 1);
53 real g1 = g[0], g2 = g[1], g3 = g[2];
63 *n_nodes, *kappa, (
real *) mu_w_d, (
real *) rho_w_d, g1, g2, g3,
64 *Pr, *z0, *z0h_in, *bc_value, (
real *) Ri_b_diagn, (
real *) L_ob_diagn,
65 (
real *) utau_diagn, (
real *) magu_diagn, (
real *) ti_diagn, (
real *) ts_diagn,
67 }
else if (*bc_type == 1) {
74 *n_nodes, *kappa, (
real *) mu_w_d, (
real *) rho_w_d, g1, g2, g3,
75 *Pr, *z0, *z0h_in, *bc_value, (
real *) Ri_b_diagn, (
real *) L_ob_diagn,
76 (
real *) utau_diagn, (
real *) magu_diagn, (
real *) ti_diagn, (
real *) ts_diagn,
__global__ void most_compute(const T *__restrict__ u_d, const T *__restrict__ v_d, const T *__restrict__ w_d, const T *__restrict__ temp_d, const T *__restrict__ temp_w_d, const T *__restrict__ h_d, const T *__restrict__ n_x_d, const T *__restrict__ n_y_d, const T *__restrict__ n_z_d, T *__restrict__ tau_x_d, T *__restrict__ tau_y_d, T *__restrict__ tau_z_d, int n_nodes, T kappa, const T *__restrict__ mu_w_d, const T *__restrict__ rho_w_d, T g1, T g2, T g3, T Pr, T z0, T z0h_in, T bc_value, T *__restrict__ Ri_b_diagn, T *__restrict__ L_ob_diagn, T *__restrict__ utau_diagn, T *__restrict__ magu_diagn, T *__restrict__ ti_diagn, T *__restrict__ ts_diagn, T *__restrict__ q_diagn)
void hip_most_compute(void *u_d, void *v_d, void *w_d, void *temp_d, void *temp_w_d, void *n_x_d, void *n_y_d, void *n_z_d, void *h_d, void *tau_x_d, void *tau_y_d, void *tau_z_d, int *n_nodes, real *kappa, void *mu_w_d, void *rho_w_d, real *g, real *Pr, real *z0, real *z0h_in, int *bc_type, real *bc_value, int *tstep, void *Ri_b_diagn, void *L_ob_diagn, void *utau_diagn, void *magu_diagn, void *ti_diagn, void *ts_diagn, void *q_diagn)