1#include <cuda_runtime.h>
9 void *wx,
void *wy,
void *wz,
10 void *x_ref,
void *y_ref,
void *z_ref,
11 void *phi,
void *
x,
void *y,
void *z,
15 const dim3 nthrds(1024, 1, 1);
16 const dim3 nblcks((n + 1024 - 1) / 1024, 1, 1);
17 const cudaStream_t stream = (cudaStream_t) glb_cmd_queue;
33 int lx,
int ly,
int lz,
int nel,
37 const dim3 nblcks((nel + 256 - 1) / 256, 1, 1);
void compute_cheap_dist_cuda(void *d_d, void *x_d, void *y_d, void *z_d, int lx, int ly, int lz, int nel, int local_iters, void *nchange_d)
void add_kinematics_to_mesh_velocity_cuda(void *wx, void *wy, void *wz, void *x_ref, void *y_ref, void *z_ref, void *phi, void *x, void *y, void *z, kinematics_params_t kin_params, int n)
__global__ void ale_add_kinematics_kernel(const int n, T *__restrict__ wx, T *__restrict__ wy, T *__restrict__ wz, const T *__restrict__ x_ref, const T *__restrict__ y_ref, const T *__restrict__ z_ref, const T *__restrict__ phi, const T *__restrict__ x, const T *__restrict__ y, const T *__restrict__ z, const kinematics_params_t kin_params)
__global__ void const T *__restrict__ x