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
auxiliary.h
Go to the documentation of this file.
1 #ifndef AUXILIARY_H
2 #define AUXILIARY_H
3 
4 #ifndef max
5 #define max(a,b) ( ( (a) > (b) ) ? (a) : (b))
6 #endif
7 #ifndef min
8 #define min(a,b) ( ( (a) < (b) ) ? (a) : (b))
9 #endif
10 
11 #include "zauxiliary.h"
12 #include "cauxiliary.h"
13 #include "dauxiliary.h"
14 #include "sauxiliary.h"
15 
16 extern int IONE;
17 extern int ISEED[4];
18 
19 extern int format[6];
20 extern int trans[3];
21 extern int uplo[2];
22 extern int side[2];
23 extern int diag[2];
24 extern char *formatstr[6];
25 extern char *transstr[3];
26 extern char *uplostr[2];
27 extern char *sidestr[2];
28 extern char *diagstr[2];
29 
30 extern void *formatmap[6];
31 
32 int map_CM (int m, int n, int mb, int nb, int i, int j);
33 int map_CCRB(int m, int n, int mb, int nb, int i, int j);
34 int map_CRRB(int m, int n, int mb, int nb, int i, int j);
35 int map_RCRB(int m, int n, int mb, int nb, int i, int j);
36 int map_RRRB(int m, int n, int mb, int nb, int i, int j);
37 int map_RM (int m, int n, int mb, int nb, int i, int j);
38 
39 #endif /* AUXILIARY_H */