-
Notifications
You must be signed in to change notification settings - Fork 0
/
validation.h
35 lines (25 loc) · 853 Bytes
/
validation.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef VALIDATION_H
#define VALIDATION_H
#include "typedefs.h"
void validate(
double sgn,
int m, int n,
const double *restrict const A, int ldA,
const double *restrict const B, int ldB,
double *restrict C, int ldC,
double *restrict X, int ldX,
const scaling_t scale);
void validate_tiled(
double sgn,
double ***A_tiles, int ldA, partitioning_t *part_A,
double ***B_tiles, int ldB, partitioning_t *part_B,
double ***C_tiles, int ldC, partitioning_t *part_C,
double ***X_tiles, int ldX,
const scaling_t scale,
memory_layout_t mem_layout);
int validate_quasi_triangular_shape(
int n, const double *restrict const A, int ldA, matrix_desc_t type);
int validate_spectra(double sgn,
int m, double *lambda_A, int *lambda_type_A,
int n, double *lambda_B, int *lambda_type_B);
#endif