TP-openmp/BE_OpenMP_2019/band_matrix/aux.h

18 lines
628 B
C
Raw Permalink Normal View History

2023-06-22 18:19:48 +00:00
void init_data(double **A, double **Ac, double *x, int n, int b);
long usecs ();
void dgemm_ (char *TRANSA, char *TRANSB,
int *M, int *N, int *K,
double *ALPHA,
double *A, int *LDA,
double *B, int *LDB,
double *BETA,
double *C, int *LDC);
void dlarnv_(int *idist, int *iseed, int *n, double *x);
void matmul_compact_row(double **A, double *x, double *y, int n, int b);
void matmul_compact_diag(double **A, double *x, double *y, int n, int b);
void matmul(double **A, double *x, double *y, int n);
void check_result(double *y1, double *y2, int n);