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