46 void *
w,
void *
u,
void *
dx,
void *
dy,
void *
dz,
void *
h1,
47 void *Br,
void *Bs,
void *Bt,
void *
h1_svv,
52 const dim3 threads(*lx, *lx, 1);
53 const dim3 blocks(*
nelv, 1, 1);
56#define LAUNCH(LX, PAD) \
57 ax_helm_svv_factorized_kernel<real, LX, PAD> \
58 <<<blocks, threads, 0, stream>>>( \
59 (real *) w, (real *) u, \
60 (real *) dx, (real *) dy, (real *) dz, (real *) h1, \
61 (real *) Br, (real *) Bs, (real *) Bt, (real *) h1_svv, \
62 (real *) g11, (real *) g22, (real *) g33, \
63 (real *) g12, (real *) g13, (real *) g23); \
64 CUDA_CHECK(cudaGetLastError())
71#define CASE_PADDED(LX) \
93 fprintf(stderr, __FILE__
": size not supported: %d\n", *lx);
void cuda_ax_helm_svv_factorized(void *w, void *u, void *dx, void *dy, void *dz, void *h1, void *Br, void *Bs, void *Bt, void *h1_svv, void *g11, void *g22, void *g33, void *g12, void *g13, void *g23, int *nelv, int *lx)
__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__ const T *__restrict__ const T *__restrict__ const T *__restrict__ g23
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ g22
__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__ const T *__restrict__ const T *__restrict__ g13
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ w
__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__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const int *__restrict__ const int nelv
__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__ const T *__restrict__ g12
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dz
__global__ void const T *__restrict__ const T *__restrict__ dx
__global__ void const T *__restrict__ u
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ dy
__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__ g33
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ g11
__global__ void 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__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ h1_svv