PLASMA  2.4.5
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
testing_zmain.h
Go to the documentation of this file.
1 
15 #ifndef TESTING_ZMAIN_H
16 #define TESTING_ZMAIN_H
17 
18 #define USAGE(name, args, details) \
19  printf(" Proper Usage is : ./ztesting ncores sched " name " " args " with\n" \
20  " - ncores : number of cores \n" \
21  " - sched : 0 for static, 1 for dynamic\n" \
22  " - " name " : name of function to test\n" \
23  details);
24 
25 #ifdef WIN32
26 #include <float.h>
27 #define isnan _isnan
28 #endif
29 
30 #ifndef max
31 #define max(a, b) ((a) > (b) ? (a) : (b))
32 #endif
33 #ifndef min
34 #define min(a, b) ((a) < (b) ? (a) : (b))
35 #endif
36 
37 extern int IONE;
38 extern int ISEED[4];
39 
40 extern int format[6];
41 extern int trans[3];
42 extern int uplo[2];
43 extern int side[2];
44 extern int diag[2];
45 extern int itype[3];
46 extern int storev[2];
47 
48 extern char *formatstr[6];
49 extern char *transstr[3];
50 extern char *uplostr[2];
51 extern char *sidestr[2];
52 extern char *diagstr[2];
53 extern char *itypestr[3];
54 extern char *storevstr[2];
55 
56 extern void *formatmap[6];
57 
58 int map_CM (int m, int n, int mb, int nb, int i, int j);
59 int map_CCRB(int m, int n, int mb, int nb, int i, int j);
60 int map_CRRB(int m, int n, int mb, int nb, int i, int j);
61 int map_RCRB(int m, int n, int mb, int nb, int i, int j);
62 int map_RRRB(int m, int n, int mb, int nb, int i, int j);
63 int map_RM (int m, int n, int mb, int nb, int i, int j);
64 
65 int testing_zgemm(int argc, char **argv);
66 int testing_zhemm(int argc, char **argv);
67 int testing_zsymm(int argc, char **argv);
68 int testing_zherk(int argc, char **argv);
69 int testing_zsyrk(int argc, char **argv);
70 int testing_zher2k(int argc, char **argv);
71 int testing_zsyr2k(int argc, char **argv);
72 int testing_ztrmm(int argc, char **argv);
73 int testing_ztrsm(int argc, char **argv);
74 int testing_zpemv(int argc, char **argv);
75 
76 int testing_zposv(int argc, char **argv);
77 int testing_zgels(int argc, char **argv);
78 int testing_zgesv(int argc, char **argv);
79 
80 int testing_zpotri(int argc, char **argv);
81 int testing_zgetri(int argc, char **argv);
82 
83 int testing_zgeev(int argc, char **argv);
84 int testing_zgesvd(int argc, char **argv);
85 int testing_zheev(int argc, char **argv);
86 int testing_zhegv(int argc, char **argv);
87 int testing_zhegst(int argc, char **argv);
88 
89 int testing_zgecfi(int argc, char **argv);
90 int testing_zgetmi(int argc, char **argv);
91 
92 #ifdef DOUBLE
93 int testing_zcposv(int argc, char **argv);
94 int testing_zcgesv(int argc, char **argv);
95 int testing_zcungesv(int argc, char **argv);
96 #endif
97 
98 int testing_zlange(int argc, char **argv);
99 
100 #endif /* TESTINGS_H */