35#include <hip/hip_runtime.h>
54 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
64 void *
u2,
void *
w,
void *z,
65 void *ni,
void *mi,
real *alpha,
66 real *beta,
void *mult,
70 const dim3 nblcks(((*n) + 1024 - 1)/ 1024, 1, 1);
71 const int nb = ((*n) + 1024 - 1)/ 1024;
84 (
real *) ni, (
real *) mi, *alpha, *beta,
__global__ void ale_add_kinematics_kernel(const int n, T *__restrict__ wx, T *__restrict__ wy, T *__restrict__ wz, const T *__restrict__ x_ref, const T *__restrict__ y_ref, const T *__restrict__ z_ref, const T *__restrict__ phi, const T *__restrict__ x, const T *__restrict__ y, const T *__restrict__ z, const kinematics_params_t kin_params)
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ w
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ u
__global__ void const T *__restrict__ x
void hip_buffer_reserve(hip_buffer_t *buf, size_t size)
void hip_cg_update_xp(void *x, void *p, void *u, void *alpha, void *beta, int *p_cur, int *p_space, int *n)
void hip_pipecg_vecops(void *p, void *q, void *r, void *s, void *u1, void *u2, void *w, void *z, void *ni, void *mi, real *alpha, real *beta, void *mult, real *reduction, int *n)