StarPU Handbook
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
starpu_config.h
Go to the documentation of this file.
1 /* StarPU --- Runtime system for heterogeneous multicore architectures.
2  *
3  * Copyright (C) 2009-2014 Université de Bordeaux 1
4  * Copyright (C) 2010, 2011, 2012, 2013 Centre National de la Recherche Scientifique
5  *
6  * StarPU is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU Lesser General Public License as published by
8  * the Free Software Foundation; either version 2.1 of the License, or (at
9  * your option) any later version.
10  *
11  * StarPU is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14  *
15  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
16  */
17 
18 #ifndef __STARPU_CONFIG_PUBLIC_H__
19 #define __STARPU_CONFIG_PUBLIC_H__
20 
21 #define STARPU_MAJOR_VERSION 1
22 #define STARPU_MINOR_VERSION 1
23 #define STARPU_RELEASE_VERSION 1
24 
25 #define STARPU_USE_CPU 1
26 #define STARPU_USE_CUDA 1
27 #define STARPU_USE_OPENCL 1
28 
29 #define STARPU_SIMGRID 1
30 
31 #define STARPU_HAVE_ICC 1
32 
33 #define STARPU_USE_MPI 1
34 
35 #define STARPU_ATLAS 1
36 #define STARPU_GOTO 1
37 #define STARPU_MKL 1
38 #define STARPU_SYSTEM_BLAS 1
39 
40 #define STARPU_BUILD_DIR 1
41 #define STARPU_OPENCL_DATADIR 1
42 #define STARPU_HAVE_MAGMA 1
43 
44 #define STARPU_OPENGL_RENDER 1
45 #define STARPU_USE_GTK 1
46 #define STARPU_HAVE_X11 1
47 
48 #define STARPU_HAVE_POSIX_MEMALIGN 1
49 
50 #define STARPU_HAVE_MEMALIGN 1
51 
52 #define STARPU_HAVE_MALLOC_H 1
53 
54 #define STARPU_HAVE_SYNC_BOOL_COMPARE_AND_SWAP 1
55 #define STARPU_HAVE_SYNC_FETCH_AND_ADD 1
56 #define STARPU_HAVE_SYNC_FETCH_AND_OR 1
57 #define STARPU_HAVE_SYNC_LOCK_TEST_AND_SET 1
58 #define STARPU_HAVE_SYNC_SYNCHRONIZE 1
59 
60 #define STARPU_MODEL_DEBUG 1
61 #define STARPU_NO_ASSERT 1
62 
63 #define STARPU_HAVE_FFTW 1
64 #define STARPU_HAVE_FFTWF 1
65 #define STARPU_HAVE_FFTWL 1
66 
67 #define STARPU_HAVE_CURAND 1
68 
69 #define STARPU_MAXNODES 1
70 #define STARPU_NMAXBUFS 1
71 #define STARPU_MAXCPUS 1
72 #define STARPU_MAXCUDADEVS 1
73 #define STARPU_MAXOPENCLDEVS 1
74 #define STARPU_NMAXWORKERS 1
75 #define STARPU_NMAX_SCHED_CTXS 1
76 #define STARPU_MAXIMPLEMENTATIONS 1
77 #define STARPU_USE_SC_HYPERVISOR 1
78 #define STARPU_HAVE_GLPK_H 1
79 
80 #define STARPU_HAVE_LIBNUMA 1
81 
82 #define STARPU_HAVE_WINDOWS 1
83 #define STARPU_HAVE_UNSETENV 1
84 
85 #ifdef _MSC_VER
86 typedef long starpu_ssize_t;
87 #define __starpu_func__ __FUNCTION__
88 #else
89 # include <sys/types.h>
90 typedef ssize_t starpu_ssize_t;
91 #define __starpu_func__ __func__
92 #endif
93 
94 #if defined(c_plusplus) || defined(__cplusplus)
95 /* inline is part of C++ */
96 # define __starpu_inline inline
97 #elif defined(_MSC_VER) || defined(__HP_cc)
98 # define __starpu_inline __inline
99 #else
100 # define __starpu_inline __inline__
101 #endif
102 
103 #ifdef _MSC_VER
104 struct timespec
105 {
106  time_t tv_sec; /* Seconds */
107  long tv_nsec; /* Nanoseconds */
108 };
109 #endif
110 
111 #define STARPU_QUICK_CHECK 1
112 #define STARPU_USE_DRAND48 1
113 #define STARPU_USE_ERAND48_R 1
114 #define STARPU_HAVE_NEARBYINTF 1
115 #define STARPU_HAVE_RINTF 1
116 #define STARPU_USE_TOP 1
117 
118 #define STARPU_HAVE_HWLOC 1
119 #define STARPU_HAVE_PTHREAD_BARRIER 1
120 
121 #endif