50#include "ax_helm_full_kernel.cl.h" 
   56                                  void *
u, 
void *
v, 
void *
w,
 
   57                                  void *
dx, 
void *
dy, 
void *
dz,
 
   63                                  void *
jacinv, 
void *
w3, 
int *nelv, 
int *lx) {
 
   82        clCreateKernel(ax_helm_full_program,                                   \ 
   83                       STR(ax_helm_stress_kernel_full_lx##LX), &err);          \ 
   86      CL_CHECK(clSetKernelArg(kernel, 0, sizeof(cl_mem), (void *) &au));       \ 
   87      CL_CHECK(clSetKernelArg(kernel, 1, sizeof(cl_mem), (void *) &av));       \ 
   88      CL_CHECK(clSetKernelArg(kernel, 2, sizeof(cl_mem), (void *) &aw));       \ 
   89      CL_CHECK(clSetKernelArg(kernel, 3, sizeof(cl_mem), (void *) &u));        \ 
   90      CL_CHECK(clSetKernelArg(kernel, 4, sizeof(cl_mem), (void *) &v));        \ 
   91      CL_CHECK(clSetKernelArg(kernel, 5, sizeof(cl_mem), (void *) &w));        \ 
   92      CL_CHECK(clSetKernelArg(kernel, 6, sizeof(cl_mem), (void *) &dx));       \ 
   93      CL_CHECK(clSetKernelArg(kernel, 7, sizeof(cl_mem), (void *) &dy));       \ 
   94      CL_CHECK(clSetKernelArg(kernel, 8, sizeof(cl_mem), (void *) &dz));       \ 
   95      CL_CHECK(clSetKernelArg(kernel, 9, sizeof(cl_mem), (void *) &h1));       \ 
   96      CL_CHECK(clSetKernelArg(kernel, 10, sizeof(cl_mem), (void *) &drdx));    \ 
   97      CL_CHECK(clSetKernelArg(kernel, 11, sizeof(cl_mem), (void *) &drdy));    \ 
   98      CL_CHECK(clSetKernelArg(kernel, 12, sizeof(cl_mem), (void *) &drdz));    \ 
   99      CL_CHECK(clSetKernelArg(kernel, 13, sizeof(cl_mem), (void *) &dsdx));    \ 
  100      CL_CHECK(clSetKernelArg(kernel, 14, sizeof(cl_mem), (void *) &dsdy));    \ 
  101      CL_CHECK(clSetKernelArg(kernel, 15, sizeof(cl_mem), (void *) &dsdz));    \ 
  102      CL_CHECK(clSetKernelArg(kernel, 16, sizeof(cl_mem), (void *) &dtdx));    \ 
  103      CL_CHECK(clSetKernelArg(kernel, 17, sizeof(cl_mem), (void *) &dtdy));    \ 
  104      CL_CHECK(clSetKernelArg(kernel, 18, sizeof(cl_mem), (void *) &dtdz));    \ 
  105      CL_CHECK(clSetKernelArg(kernel, 19, sizeof(cl_mem), (void *) &jacinv));  \ 
  106      CL_CHECK(clSetKernelArg(kernel, 20, sizeof(cl_mem), (void *) &w3));      \ 
  108     CL_CHECK(clEnqueueNDRangeKernel((cl_command_queue) glb_cmd_queue,         \ 
  109                                     kernel, 2, NULL, global_kstep,            \ 
  110                                     local_kstep, 0, NULL, NULL));             \ 
 
  143                                        void *
u, 
void *
v, 
void *
w,
 
  144                                        void *h2, 
void *B, 
int *n) {
 
  153                                    "ax_helm_stress_kernel_vector_part2", &
err);
 
  166  const int nb = ((*n) + 256 - 1) / 256;
 
 
void opencl_ax_helm_stress_vector(void *au, void *av, void *aw, void *u, void *v, void *w, void *dx, void *dy, void *dz, void *dxt, void *dyt, void *dzt, void *h1, void *drdx, void *drdy, void *drdz, void *dsdx, void *dsdy, void *dsdz, void *dtdx, void *dtdy, void *dtdz, void *jacinv, void *w3, int *nelv, int *lx)
 
void opencl_ax_helm_stress_vector_part2(void *au, void *av, void *aw, void *u, void *v, void *w, void *h2, void *B, int *n)
 
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ drdy
 
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ drdz
 
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dsdz
 
__global__ void T *__restrict__ T *__restrict__ aw
 
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dsdy
 
__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__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dtdy
 
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ u
 
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dx
 
__global__ void T *__restrict__ av
 
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ drdx
 
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dtdz
 
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dsdx
 
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ v
 
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dtdx
 
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dz
 
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ h1
 
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dy
 
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ jacinv
 
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ w3
 
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dzt
 
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dyt
 
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dxt
 
__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 * ax_helm_full_program