35#include <hip/hip_runtime.h>
46 void *bla_x,
void *bla_y,
void *bla_z,
47 int *m, hipStream_t strm) {
49 const dim3 nthrds(1024, 1, 1);
50 const dim3 nblcks(((*m)+1024 - 1)/ 1024, 1, 1);
53 nblcks, nthrds, 0, strm,
66 const dim3 nthrds(1024, 1, 1);
67 const dim3 nblcks(((*m)+1024 - 1)/ 1024, 1, 1);
70 nblcks, nthrds, 0, strm, (
int *) msk,
__global__ void const T *__restrict__ x
__global__ void inhom_dirichlet_apply_scalar_kernel(const int *__restrict__ msk, T *__restrict__ x, const T *__restrict__ bla_x, const int m)
__global__ void inhom_dirichlet_apply_vector_kernel(const int *__restrict__ msk, T *__restrict__ x, T *__restrict__ y, T *__restrict__ z, const T *__restrict__ bla_x, const T *__restrict__ bla_y, const T *__restrict__ bla_z, const int m)
void hip_inhom_dirichlet_apply_scalar(void *msk, void *x, void *bla_x, int *m, hipStream_t strm)
void hip_inhom_dirichlet_apply_vector(void *msk, void *x, void *y, void *z, void *bla_x, void *bla_y, void *bla_z, int *m, hipStream_t strm)