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-2015 Université de Bordeaux
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 /*
19  * This is the public config.h file, installed along libstarpu.
20  *
21  * It should only contain the build-time #defines which have an effect on the
22  * API & ABI.
23  */
24 
25 #ifndef __STARPU_CONFIG_PUBLIC_H__
26 #define __STARPU_CONFIG_PUBLIC_H__
27 
28 #define STARPU_MAJOR_VERSION 1
29 #define STARPU_MINOR_VERSION 1
30 #define STARPU_RELEASE_VERSION 1
31 
32 #define STARPU_USE_CPU 1
33 #define STARPU_USE_CUDA 1
34 #define STARPU_USE_OPENCL 1
35 
36 #define STARPU_SIMGRID 1
37 #define STARPU_HAVE_SIMGRID_MSG_H 1
38 
39 #define STARPU_HAVE_ICC 1
40 
41 #define STARPU_USE_MPI 1
42 
43 #define STARPU_ATLAS 1
44 #define STARPU_GOTO 1
45 #define STARPU_MKL 1
46 #define STARPU_SYSTEM_BLAS 1
47 
48 #define STARPU_BUILD_DIR 1
49 #define STARPU_OPENCL_DATADIR 1
50 #define STARPU_HAVE_MAGMA 1
51 
52 #define STARPU_OPENGL_RENDER 1
53 #define STARPU_USE_GTK 1
54 #define STARPU_HAVE_X11 1
55 
56 #define STARPU_HAVE_POSIX_MEMALIGN 1
57 
58 #define STARPU_HAVE_MEMALIGN 1
59 
60 #define STARPU_HAVE_MALLOC_H 1
61 
62 #define STARPU_HAVE_SYNC_BOOL_COMPARE_AND_SWAP 1
63 #define STARPU_HAVE_SYNC_FETCH_AND_ADD 1
64 #define STARPU_HAVE_SYNC_FETCH_AND_OR 1
65 #define STARPU_HAVE_SYNC_LOCK_TEST_AND_SET 1
66 #define STARPU_HAVE_SYNC_SYNCHRONIZE 1
67 
68 #define STARPU_MODEL_DEBUG 1
69 #define STARPU_NO_ASSERT 1
70 
71 #define STARPU_HAVE_FFTW 1
72 #define STARPU_HAVE_FFTWF 1
73 #define STARPU_HAVE_FFTWL 1
74 
75 #define STARPU_HAVE_CURAND 1
76 
77 #define STARPU_MAXNODES 1
78 #define STARPU_NMAXBUFS 1
79 #define STARPU_MAXCPUS 1
80 #define STARPU_MAXCUDADEVS 1
81 #define STARPU_MAXOPENCLDEVS 1
82 #define STARPU_NMAXWORKERS 1
83 #define STARPU_NMAX_SCHED_CTXS 1
84 #define STARPU_MAXIMPLEMENTATIONS 1
85 #define STARPU_USE_SC_HYPERVISOR 1
86 #define STARPU_HAVE_GLPK_H 1
87 
88 #define STARPU_HAVE_LIBNUMA 1
89 
90 #define STARPU_HAVE_WINDOWS 1
91 #define STARPU_HAVE_UNSETENV 1
92 
93 #ifdef _MSC_VER
94 typedef long starpu_ssize_t;
95 #define __starpu_func__ __FUNCTION__
96 #else
97 # include <sys/types.h>
98 typedef ssize_t starpu_ssize_t;
99 #define __starpu_func__ __func__
100 #endif
101 
102 #if defined(c_plusplus) || defined(__cplusplus)
103 /* inline is part of C++ */
104 # define __starpu_inline inline
105 #elif defined(_MSC_VER) || defined(__HP_cc)
106 # define __starpu_inline __inline
107 #else
108 # define __starpu_inline __inline__
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 #define STARPU_HAVE_STRUCT_TIMESPEC 1
121 
122 /* This is only for building examples */
123 #define STARPU_HAVE_HELGRIND_H 1
124 
125 #endif