35#include <hip/hip_runtime.h>
42 void *s12,
void *s13,
void *s23,
45 const dim3 nthrds(1024, 1, 1);
46 const dim3 nblcks(((*n)+1024 - 1)/ 1024, 1, 1);
57 void *l12,
void *l13,
void *l23,
58 void *
u,
void *
v,
void *
w,
59 void *fu,
void *fv,
void *fw,
60 void *fuu,
void *fvv,
void *fww,
61 void *fuv,
void *fuw,
void *fvw,
64 const dim3 nthrds(1024, 1, 1);
65 const dim3 nblcks(((*n)+1024 - 1)/ 1024, 1, 1);
79 void *l12,
void *l13,
void *l23,
80 void *fuu,
void *fvv,
void *fww,
81 void *fuv,
void *fuw,
void *fvw,
84 const dim3 nthrds(1024, 1, 1);
85 const dim3 nblcks(((*n)+1024 - 1)/ 1024, 1, 1);
97 void *m12,
void *m13,
void *m23,
98 void *s_abs,
void *s11,
void *s22,
void *s33,
99 void *s12,
void *s13,
void *s23,
100 void *delta,
void *fs11,
void *fs22,
void *fs33,
101 void *fs12,
void *fs13,
void *fs23,
102 void *fsabss11,
void *fsabss22,
void *fsabss33,
103 void *fsabss12,
void *fsabss13,
void *fsabss23,
104 real * delta_ratio2,
int * n){
106 const dim3 nthrds(1024, 1, 1);
107 const dim3 nblcks(((*n)+1024 - 1)/ 1024, 1, 1);
116 (
real *) fsabss11, (
real *) fsabss22, (
real *) fsabss33,
117 (
real *) fsabss12, (
real *) fsabss13, (
real *) fsabss23,
118 * delta_ratio2, * n);
123 void *m12,
void *m13,
void *m23,
124 void *l11,
void *l22,
void *l33,
125 void *l12,
void *l13,
void *l23,
126 void *fsabss11,
void *fsabss22,
void *fsabss33,
127 void *fsabss12,
void *fsabss13,
void *fsabss23,
128 void *num,
void *den,
void *c_dyn,
void *delta,
129 void *s_abs,
void *nut,
130 real * alpha,
int * n){
132 const dim3 nthrds(1024, 1, 1);
133 const dim3 nblcks(((*n)+1024 - 1)/ 1024, 1, 1);
140 (
real *) fsabss11, (
real *) fsabss22, (
real *) fsabss33,
141 (
real *) fsabss12, (
real *) fsabss13, (
real *) fsabss23,
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ w
__global__ void const T *__restrict__ u
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ v
__global__ void mij_compute_part1(T *__restrict__ m11, T *__restrict__ m22, T *__restrict__ m33, T *__restrict__ m12, T *__restrict__ m13, T *__restrict__ m23, const T *__restrict__ s_abs, const T *__restrict__ s11, const T *__restrict__ s22, const T *__restrict__ s33, const T *__restrict__ s12, const T *__restrict__ s13, const T *__restrict__ s23, const T *__restrict__ delta, const T *__restrict__ fs11, const T *__restrict__ fs22, const T *__restrict__ fs33, const T *__restrict__ fs12, const T *__restrict__ fs13, const T *__restrict__ fs23, T *__restrict__ fsabss11, T *__restrict__ fsabss22, T *__restrict__ fsabss33, T *__restrict__ fsabss12, T *__restrict__ fsabss13, T *__restrict__ fsabss23, const T delta_ratio2, const int n)
__global__ void mij_nut_compute_part2(const T *__restrict__ m11, const T *__restrict__ m22, const T *__restrict__ m33, const T *__restrict__ m12, const T *__restrict__ m13, const T *__restrict__ m23, T *__restrict__ l11, T *__restrict__ l22, T *__restrict__ l33, T *__restrict__ l12, T *__restrict__ l13, T *__restrict__ l23, const T *__restrict__ fsabss11, const T *__restrict__ fsabss22, const T *__restrict__ fsabss33, const T *__restrict__ fsabss12, const T *__restrict__ fsabss13, const T *__restrict__ fsabss23, T *__restrict__ num, T *__restrict__ den, T *__restrict__ c_dyn, const T *__restrict__ delta, const T *__restrict__ s_abs, T *__restrict__ nut, const T alpha, const int n)
__global__ void lij_compute_part1(T *__restrict__ l11, T *__restrict__ l22, T *__restrict__ l33, T *__restrict__ l12, T *__restrict__ l13, T *__restrict__ l23, const T *__restrict__ u, const T *__restrict__ v, const T *__restrict__ w, const T *__restrict__ fu, const T *__restrict__ fv, const T *__restrict__ fw, T *__restrict__ fuu, T *__restrict__ fvv, T *__restrict__ fww, T *__restrict__ fuv, T *__restrict__ fuw, T *__restrict__ fvw, const int n)
__global__ void lij_compute_part2(T *__restrict__ l11, T *__restrict__ l22, T *__restrict__ l33, T *__restrict__ l12, T *__restrict__ l13, T *__restrict__ l23, const T *__restrict__ fuu, const T *__restrict__ fvv, const T *__restrict__ fww, const T *__restrict__ fuv, const T *__restrict__ fuw, const T *__restrict__ fvw, const int n)
__global__ void s_abs_compute(T *__restrict__ s_abs, const T *__restrict__ s11, const T *__restrict__ s22, const T *__restrict__ s33, const T *__restrict__ s12, const T *__restrict__ s13, const T *__restrict__ s23, const int n)
void hip_lij_compute_part1(void *l11, void *l22, void *l33, void *l12, void *l13, void *l23, void *u, void *v, void *w, void *fu, void *fv, void *fw, void *fuu, void *fvv, void *fww, void *fuv, void *fuw, void *fvw, int *n)
void hip_mij_compute_part1(void *m11, void *m22, void *m33, void *m12, void *m13, void *m23, void *s_abs, void *s11, void *s22, void *s33, void *s12, void *s13, void *s23, void *delta, void *fs11, void *fs22, void *fs33, void *fs12, void *fs13, void *fs23, void *fsabss11, void *fsabss22, void *fsabss33, void *fsabss12, void *fsabss13, void *fsabss23, real *delta_ratio2, int *n)
void hip_mij_nut_compute_part2(void *m11, void *m22, void *m33, void *m12, void *m13, void *m23, void *l11, void *l22, void *l33, void *l12, void *l13, void *l23, void *fsabss11, void *fsabss22, void *fsabss33, void *fsabss12, void *fsabss13, void *fsabss23, void *num, void *den, void *c_dyn, void *delta, void *s_abs, void *nut, real *alpha, int *n)
void hip_s_abs_compute(void *s_abs, void *s11, void *s22, void *s33, void *s12, void *s13, void *s23, int *n)
void hip_lij_compute_part2(void *l11, void *l22, void *l33, void *l12, void *l13, void *l23, void *fuu, void *fvv, void *fww, void *fuv, void *fuw, void *fvw, int *n)