46#include "compressible_ops_update_kernel.cl.h"
49 void *m_x,
void *m_y,
void *m_z,
60 "update_uvw_kernel", &
err);
72 const int nb = (n + 256 - 1) / 256;
84 void *
u,
void *
v,
void *
w,
void *
E,
85 void *rho,
real gamma,
int n) {
94 "update_mxyz_p_ruvw_kernel", &
err);
110 const int nb = (n + 256 - 1) / 256;
130 "update_e_kernel", &
err);
139 const int nb = (n + 256 - 1) / 256;
void opencl_update_uvw(void *u, void *v, void *w, void *m_x, void *m_y, void *m_z, void *rho, int n)
void opencl_update_e(void *E, void *p, void *ruvw, real gamma, int n)
void opencl_update_mxyz_p_ruvw(void *m_x, void *m_y, void *m_z, void *p, void *ruvw, void *u, void *v, void *w, void *E, void *rho, real gamma, int n)
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ w
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ u
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ v
__global__ void dirichlet_apply_scalar_kernel(const int *__restrict__ msk, T *__restrict__ x, const T g, const int m)
void opencl_kernel_jit(const char *kernel, cl_program *program)
void * compressible_ops_update_program