47#include "dirichlet_kernel.cl.h"
60 "dirichlet_apply_scalar_kernel", &
err);
68 const int nb = ((*m) + 256 - 1) / 256;
81 void *z,
real *g,
int *m) {
88 "dirichlet_apply_vector_kernel", &
err);
98 const int nb = ((*m) + 256 - 1) / 256;
__global__ void const T *__restrict__ x
__global__ void dirichlet_apply_scalar_kernel(const int *__restrict__ msk, T *__restrict__ x, const T g, const int m)
void opencl_dirichlet_apply_vector(void *msk, void *x, void *y, void *z, real *g, int *m)
void opencl_dirichlet_apply_scalar(void *msk, void *x, real *g, int *m)
void opencl_kernel_jit(const char *kernel, cl_program *program)