35#include <hip/hip_runtime.h>
47 void *
x,
void *y,
void *z,
48 int *m,
int *n,
int *l,
51 const int max_len = std::max(std::max(*m, *n), *l);
52 const dim3 nthrds(1024, 1, 1);
53 const dim3 nblcks(((max_len) + 1024 - 1)/ 1024, 1, 1);
56 nblcks, nthrds, 0, strm,
57 (
int *) xmsk, (
int *) ymsk, (
int *) zmsk,
__global__ void const T *__restrict__ x
__global__ void symmetry_aligned_apply_vector_kernel(const int *__restrict__ xmsk, const int *__restrict__ ymsk, const int *__restrict__ zmsk, T *__restrict__ x, T *__restrict__ y, T *__restrict__ z, const int m, const int n, const int l)
void hip_symmetry_aligned_apply_vector(void *xmsk, void *ymsk, void *zmsk, void *x, void *y, void *z, int *m, int *n, int *l, hipStream_t strm)