44 void *n_x_d,
void *n_y_d,
void *n_z_d,
void *nu_d,
void *rho_w_d,
45 void *h_d,
void *tau_x_d,
void *tau_y_d,
void *tau_z_d,
46 int *n_nodes,
real *kappa,
real *B,
int *tstep) {
48 const dim3 nthrds(1024, 1, 1);
49 const dim3 nblcks(((*n_nodes)+1024 - 1)/ 1024, 1, 1);
54 <<<nblcks, nthrds, 0, stream>>>((
real *) u_d, (
real *) v_d, (
real *) w_d,
58 (
real *) tau_z_d, *n_nodes, *kappa, *B, *tstep);
__global__ void spalding_compute(const T *__restrict__ u_d, const T *__restrict__ v_d, const T *__restrict__ w_d, const T *__restrict__ n_x_d, const T *__restrict__ n_y_d, const T *__restrict__ n_z_d, const T *__restrict__ nu_d, const T *__restrict__ rho_w_d, const T *__restrict__ h_d, T *__restrict__ tau_x_d, T *__restrict__ tau_y_d, T *__restrict__ tau_z_d, const int n_nodes, const T kappa, const T B, const int tstep)
void cuda_spalding_compute(void *u_d, void *v_d, void *w_d, void *n_x_d, void *n_y_d, void *n_z_d, void *nu_d, void *rho_w_d, void *h_d, void *tau_x_d, void *tau_y_d, void *tau_z_d, int *n_nodes, real *kappa, real *B, int *tstep)