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 /*
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 
38 #define STARPU_HAVE_ICC 1
39 
40 #define STARPU_USE_MPI 1
41 
42 #define STARPU_ATLAS 1
43 #define STARPU_GOTO 1
44 #define STARPU_MKL 1
45 #define STARPU_SYSTEM_BLAS 1
46 
47 #define STARPU_BUILD_DIR 1
48 #define STARPU_OPENCL_DATADIR 1
49 #define STARPU_HAVE_MAGMA 1
50 
51 #define STARPU_OPENGL_RENDER 1
52 #define STARPU_USE_GTK 1
53 #define STARPU_HAVE_X11 1
54 
55 #define STARPU_HAVE_POSIX_MEMALIGN 1
56 
57 #define STARPU_HAVE_MEMALIGN 1
58 
59 #define STARPU_HAVE_MALLOC_H 1
60 
61 #define STARPU_HAVE_SYNC_BOOL_COMPARE_AND_SWAP 1
62 #define STARPU_HAVE_SYNC_FETCH_AND_ADD 1
63 #define STARPU_HAVE_SYNC_FETCH_AND_OR 1
64 #define STARPU_HAVE_SYNC_LOCK_TEST_AND_SET 1
65 #define STARPU_HAVE_SYNC_SYNCHRONIZE 1
66 
67 #define STARPU_MODEL_DEBUG 1
68 #define STARPU_NO_ASSERT 1
69 
70 #define STARPU_HAVE_FFTW 1
71 #define STARPU_HAVE_FFTWF 1
72 #define STARPU_HAVE_FFTWL 1
73 
74 #define STARPU_HAVE_CURAND 1
75 
76 #define STARPU_MAXNODES 1
77 #define STARPU_NMAXBUFS 1
78 #define STARPU_MAXCPUS 1
79 #define STARPU_MAXCUDADEVS 1
80 #define STARPU_MAXOPENCLDEVS 1
81 #define STARPU_NMAXWORKERS 1
82 #define STARPU_NMAX_SCHED_CTXS 1
83 #define STARPU_MAXIMPLEMENTATIONS 1
84 #define STARPU_USE_SC_HYPERVISOR 1
85 #define STARPU_HAVE_GLPK_H 1
86 
87 #define STARPU_HAVE_LIBNUMA 1
88 
89 #define STARPU_HAVE_WINDOWS 1
90 #define STARPU_HAVE_UNSETENV 1
91 
92 #ifdef _MSC_VER
93 typedef long starpu_ssize_t;
94 #define __starpu_func__ __FUNCTION__
95 #else
96 # include <sys/types.h>
97 typedef ssize_t starpu_ssize_t;
98 #define __starpu_func__ __func__
99 #endif
100 
101 #if defined(c_plusplus) || defined(__cplusplus)
102 /* inline is part of C++ */
103 # define __starpu_inline inline
104 #elif defined(_MSC_VER) || defined(__HP_cc)
105 # define __starpu_inline __inline
106 #else
107 # define __starpu_inline __inline__
108 #endif
109 
110 #define STARPU_QUICK_CHECK 1
111 #define STARPU_USE_DRAND48 1
112 #define STARPU_USE_ERAND48_R 1
113 #define STARPU_HAVE_NEARBYINTF 1
114 #define STARPU_HAVE_RINTF 1
115 #define STARPU_USE_TOP 1
116 
117 #define STARPU_HAVE_HWLOC 1
118 #define STARPU_HAVE_PTHREAD_BARRIER 1
119 
120 #endif