PLASMA
Parallel Linear Algebra Software for Multicore Architectures
plasma_internal.h
1 
10 #ifndef ICL_PLASMA_INTERNAL_H
11 #define ICL_PLASMA_INTERNAL_H
12 
13 #include <stdio.h>
14 #include <stdlib.h>
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 /******************************************************************************/
21 static inline int imin(int a, int b)
22 {
23  if (a < b)
24  return a;
25  else
26  return b;
27 }
28 
29 /******************************************************************************/
30 static inline int imax(int a, int b)
31 {
32  if (a > b)
33  return a;
34  else
35  return b;
36 }
37 
38 #ifdef __cplusplus
39 } // extern "C"
40 #endif
41 
42 #include "plasma_internal_s.h"
43 #include "plasma_internal_d.h"
44 #include "plasma_internal_ds.h"
45 #include "plasma_internal_c.h"
46 #include "plasma_internal_z.h"
47 #include "plasma_internal_zc.h"
48 
49 #endif // ICL_PLASMA_INTERNAL_H