35#include <hip/hip_runtime.h>
43 void hip_opchsign(
void *a1,
void *a2,
void *a3,
int *gdim,
int *n) {
45 const dim3 nthrds(1024, 1, 1);
46 const dim3 nblcks(((*n)+1024 - 1)/ 1024, 1, 1);
56 void hip_opcolv(
void *a1,
void *a2,
void *a3,
void *c,
int *gdim,
int *n) {
58 const dim3 nthrds(1024, 1, 1);
59 const dim3 nblcks(((*n)+1024 - 1)/ 1024, 1, 1);
70 void hip_opcolv3c(
void *a1,
void *a2,
void *a3,
void *b1,
void *b2,
void *b3,
71 void *c,
real *d,
int *gdim,
int *n) {
73 const dim3 nthrds(1024, 1, 1);
74 const dim3 nblcks(((*n)+1024 - 1)/ 1024, 1, 1);
80 (
real *) c, *d, *gdim, *n);
87 void *b1,
void *b2,
void *b3,
real *c,
int *gdim,
int *n) {
89 const dim3 nthrds(1024, 1, 1);
90 const dim3 nblcks(((*n)+1024 - 1)/ 1024, 1, 1);
103 void *b1,
void *b2,
void *b3,
void *c,
int *gdim,
int *n) {
105 const dim3 nthrds(1024, 1, 1);
106 const dim3 nblcks(((*n)+1024 - 1)/ 1024, 1, 1);
112 (
real *) c, *gdim, *n);
__global__ void opcolv_kernel(T *__restrict__ a1, T *__restrict__ a2, T *__restrict__ a3, const T *__restrict__ c, const int gdim, const int n)
__global__ void opchsign_kernel(T *__restrict__ a1, T *__restrict__ a2, T *__restrict__ a3, const int gdim, const int n)
__global__ void opadd2col_kernel(T *__restrict__ a1, T *__restrict__ a2, T *__restrict__ a3, const T *__restrict__ b1, const T *__restrict__ b2, const T *__restrict__ b3, const T *__restrict__ c, const int gdim, const int n)
__global__ void opcolv3c_kernel(T *__restrict__ a1, T *__restrict__ a2, T *__restrict__ a3, const T *__restrict__ b1, const T *__restrict__ b2, const T *__restrict__ b3, const T *__restrict__ c, const T d, const int gdim, const int n)
__global__ void opadd2cm_kernel(T *__restrict__ a1, T *__restrict__ a2, T *__restrict__ a3, const T *__restrict__ b1, const T *__restrict__ b2, const T *__restrict__ b3, const T c, const int gdim, const int n)
void hip_opchsign(void *a1, void *a2, void *a3, int *gdim, int *n)
void hip_opcolv(void *a1, void *a2, void *a3, void *c, int *gdim, int *n)
void hip_opadd2cm(void *a1, void *a2, void *a3, void *b1, void *b2, void *b3, real *c, int *gdim, int *n)
void hip_opadd2col(void *a1, void *a2, void *a3, void *b1, void *b2, void *b3, void *c, int *gdim, int *n)
void hip_opcolv3c(void *a1, void *a2, void *a3, void *b1, void *b2, void *b3, void *c, real *d, int *gdim, int *n)