Go to the documentation of this file.
25 #ifndef __STARPU_CONFIG_PUBLIC_H__
26 #define __STARPU_CONFIG_PUBLIC_H__
33 #define STARPU_MAJOR_VERSION 1
40 #define STARPU_MINOR_VERSION 1
47 #define STARPU_RELEASE_VERSION 1
49 #define STARPU_USE_CPU 1
57 #define STARPU_USE_CUDA 1
62 #define STARPU_USE_CUDA0 1
67 #define STARPU_USE_CUDA1 1
75 #define STARPU_USE_HIP 1
83 #define STARPU_HAVE_LIBNVIDIA_ML 1
91 #define STARPU_USE_OPENCL 1
98 #define STARPU_USE_MAX_FPGA 1
106 #define STARPU_USE_MPI_MASTER_SLAVE 1
113 #define STARPU_USE_TCPIP_MASTER_SLAVE 1
121 #define STARPU_OPENMP 1
123 #define STARPU_BUBBLE 1
124 #define STARPU_PARALLEL_WORKER 1
126 #define STARPU_SIMGRID 1
127 #define STARPU_SIMGRID_MC 1
128 #define STARPU_SIMGRID_HAVE_XBT_BARRIER_INIT 1
129 #define STARPU_HAVE_SIMGRID_MSG_H 1
130 #define STARPU_HAVE_MSG_MSG_H 1
131 #define STARPU_HAVE_SIMGRID_ACTOR_H 1
132 #define STARPU_HAVE_SIMGRID_SEMAPHORE_H 1
133 #define STARPU_HAVE_SIMGRID_MUTEX_H 1
134 #define STARPU_HAVE_SIMGRID_COND_H 1
135 #define STARPU_HAVE_SIMGRID_BARRIER_H 1
136 #define STARPU_HAVE_XBT_SYNCHRO_H 1
137 #define STARPU_HAVE_VALGRIND_H 1
138 #define STARPU_HAVE_MEMCHECK_H 1
139 #define STARPU_VALGRIND_FULL 1
140 #define STARPU_SANITIZE_LEAK 1
141 #define STARPU_NON_BLOCKING_DRIVERS 1
143 #define STARPU_WORKER_CALLBACKS 1
145 #define STARPU_HAVE_ICC 1
152 #define STARPU_USE_MPI 1
153 #define STARPU_USE_MPI_MPI 1
154 #define STARPU_USE_MPI_NMAD 1
155 #define STARPU_USE_MPI_FT 1
156 #define STARPU_USE_MPI_FT_STATS 1
158 #define STARPU_ATLAS 1
159 #define STARPU_GOTO 1
160 #define STARPU_OPENBLAS 1
162 #define STARPU_ARMPL 1
163 #define STARPU_SYSTEM_BLAS 1
164 #define STARPU_HAVE_CBLAS_H 1
165 #define STARPU_HAVE_BLAS 1
172 #define STARPU_OPENCL_DATADIR 1
173 #define STARPU_HAVE_LIBCUSPARSE 1
174 #define STARPU_HAVE_LIBCUSOLVER 1
175 #define STARPU_HAVE_MAGMA 1
177 #define STARPU_OPENGL_RENDER 1
178 #define STARPU_USE_GTK 1
179 #define STARPU_HAVE_X11 1
180 #define STARPU_PAPI 1
182 #define STARPU_HAVE_POSIX_MEMALIGN 1
184 #define STARPU_HAVE_MEMALIGN 1
186 #define STARPU_HAVE_MALLOC_H 1
188 #define STARPU_HAVE_SYNC_BOOL_COMPARE_AND_SWAP 1
189 #define STARPU_HAVE_SYNC_VAL_COMPARE_AND_SWAP 1
190 #define STARPU_HAVE_SYNC_FETCH_AND_ADD 1
191 #define STARPU_HAVE_SYNC_FETCH_AND_OR 1
192 #define STARPU_HAVE_SYNC_LOCK_TEST_AND_SET 1
193 #define STARPU_HAVE_SYNC_SYNCHRONIZE 1
194 #define STARPU_HAVE_ATOMIC_EXCHANGE_N 1
196 #define STARPU_DEVEL 1
197 #define STARPU_MODEL_DEBUG 1
198 #define STARPU_NO_ASSERT 1
199 #define STARPU_DEBUG 1
200 #define STARPU_VERBOSE 1
201 #define STARPU_GDB_PATH 1
203 #define STARPU_HAVE_FFTW 1
204 #define STARPU_HAVE_FFTWF 1
205 #define STARPU_HAVE_FFTWL 1
206 #define STARPU_HAVE_CUFFTDOUBLECOMPLEX 1
208 #define STARPU_HAVE_CURAND 1
217 #define STARPU_MAXNODES 1
226 #define STARPU_NMAXBUFS 1
235 #define STARPU_FXT_MAX_FILES 1
243 #define STARPU_MAXCPUS 1
251 #define STARPU_MAXNUMANODES 1
257 #define STARPU_MAXCUDADEVS 1
264 #define STARPU_MAXOPENCLDEVS 1
271 #define STARPU_MAXMAXFPGADEVS 1
278 #define STARPU_MAXHIPDEVS 1
284 #define STARPU_NMAXWORKERS 1
292 #define STARPU_NMAX_SCHED_CTXS 1
300 #define STARPU_MAXIMPLEMENTATIONS 1
302 #define STARPU_USE_SC_HYPERVISOR 1
303 #define STARPU_SC_HYPERVISOR_DEBUG 1
304 #define STARPU_HAVE_GLPK_H 1
306 #define STARPU_HAVE_CUDA_MEMCPY_PEER 1
307 #define STARPU_HAVE_LIBNUMA 1
309 #define STARPU_HAVE_WINDOWS 1
310 #define STARPU_LINUX_SYS 1
311 #define STARPU_HAVE_SETENV 1
312 #define STARPU_HAVE_UNSETENV 1
313 #define STARPU_HAVE_UNISTD_H 1
314 #define STARPU_HAVE_HDF5 1
316 #define STARPU_HAVE_MPI_COMM_CREATE_GROUP 1
318 #define STARPU_USE_FXT 1
319 #define STARPU_FXT_LOCK_TRACES 1
322 typedef long starpu_ssize_t;
323 #define __starpu_func__ __FUNCTION__
325 #include <sys/types.h>
326 typedef ssize_t starpu_ssize_t;
327 #define __starpu_func__ __func__
330 #if defined(c_plusplus) || defined(__cplusplus)
332 #define __starpu_inline inline
333 #elif defined(_MSC_VER) || defined(__HP_cc)
334 #define __starpu_inline __inline
336 #define __starpu_inline __inline__
339 #define STARPU_QUICK_CHECK 1
340 #define STARPU_LONG_CHECK 1
341 #define STARPU_USE_DRAND48 1
342 #define STARPU_USE_ERAND48_R 1
343 #define STARPU_HAVE_NEARBYINTF 1
344 #define STARPU_HAVE_RINTF 1
346 #define STARPU_HAVE_HWLOC 1
347 #define STARPU_HAVE_PTHREAD_SPIN_LOCK 1
348 #define STARPU_HAVE_PTHREAD_BARRIER 1
349 #define STARPU_HAVE_PTHREAD_SETNAME_NP 1
350 #define STARPU_HAVE_STRUCT_TIMESPEC 1
351 #define STARPU_PTHREAD_MUTEX_INITIALIZER_ZERO 1
352 #define STARPU_PTHREAD_COND_INITIALIZER_ZERO 1
353 #define STARPU_PTHREAD_RWLOCK_INITIALIZER_ZERO 1
356 #define STARPU_HAVE_HELGRIND_H 1
359 #define HAVE_MPI_COMM_F2C 1
361 #define STARPU_HAVE_DARWIN 1
363 #define STARPU_HAVE_CXX11 1
364 #define STARPU_HAVE_STRERROR_R 1
365 #define STARPU_HAVE_STATEMENT_EXPRESSIONS 1
366 #define STARPU_PERF_MODEL_DIR 1
368 #define STARPU_PYTHON_HAVE_NUMPY 1
370 #define STARPU_PROF_TOOL 1