46#include "ale_kinematics_kernel.cl.h"
65 void *x_ref,
void *y_ref,
66 void *z_ref,
void *
phi,
67 void *
x,
void *y,
void *z,
80 "ale_add_kinematics_kernel", &
err);
97 const int nb = (n + 256 - 1) / 256;
110 int lx,
int ly,
int lz,
int nel,
122 "compute_cheap_dist_kernel", &
err);
136 const int nb = (nel + 256 - 1) / 256;
void add_kinematics_to_mesh_velocity_opencl(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)
void compute_cheap_dist_opencl(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)
__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
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ cz
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ cx
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ cy
void opencl_kernel_jit(const char *kernel, cl_program *program)
void * ale_kinematics_program