123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178 |
- /* StarPU --- Runtime system for heterogeneous multicore architectures.
- *
- * Copyright (C) 2011,2012,2014,2016,2017 Inria
- * Copyright (C) 2009-2019 Université de Bordeaux
- * Copyright (C) 2010-2017,2019 CNRS
- *
- * StarPU is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation; either version 2.1 of the License, or (at
- * your option) any later version.
- *
- * StarPU is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * See the GNU Lesser General Public License in COPYING.LGPL for more details.
- */
- /*
- * This is the public config.h file, installed along libstarpu.
- *
- * It should only contain the build-time #defines which have an effect on the
- * API & ABI.
- */
- #ifndef __STARPU_CONFIG_PUBLIC_H__
- #define __STARPU_CONFIG_PUBLIC_H__
- #undef STARPU_MAJOR_VERSION
- #undef STARPU_MINOR_VERSION
- #undef STARPU_RELEASE_VERSION
- #undef STARPU_USE_CPU
- #undef STARPU_USE_CUDA
- #undef STARPU_USE_OPENCL
- #undef STARPU_USE_MIC
- #undef STARPU_USE_MPI_MASTER_SLAVE
- #undef STARPU_OPENMP
- #undef STARPU_CLUSTER
- #undef STARPU_SIMGRID
- #undef STARPU_SIMGRID_MC
- #undef STARPU_SIMGRID_HAVE_XBT_BARRIER_INIT
- #undef STARPU_HAVE_SIMGRID_MSG_H
- #undef STARPU_HAVE_SIMGRID_ACTOR_H
- #undef STARPU_HAVE_SIMGRID_SEMAPHORE_H
- #undef STARPU_HAVE_XBT_SYNCHRO_H
- #undef STARPU_HAVE_VALGRIND_H
- #undef STARPU_HAVE_MEMCHECK_H
- #undef STARPU_VALGRIND_FULL
- #undef STARPU_SANITIZE_LEAK
- #undef STARPU_NON_BLOCKING_DRIVERS
- /* workers must call callbacks on sleep/wake-up */
- #undef STARPU_WORKER_CALLBACKS
- #undef STARPU_HAVE_ICC
- #undef STARPU_USE_MPI
- #undef STARPU_USE_MPI_MPI
- #undef STARPU_USE_MPI_NMAD
- #undef STARPU_ATLAS
- #undef STARPU_GOTO
- #undef STARPU_OPENBLAS
- #undef STARPU_MKL
- #undef STARPU_ARMPL
- #undef STARPU_SYSTEM_BLAS
- #undef STARPU_OPENCL_DATADIR
- #undef STARPU_HAVE_MAGMA
- #undef STARPU_OPENGL_RENDER
- #undef STARPU_USE_GTK
- #undef STARPU_HAVE_X11
- #undef STARPU_HAVE_POSIX_MEMALIGN
- #undef STARPU_HAVE_MEMALIGN
- #undef STARPU_HAVE_MALLOC_H
- #undef STARPU_HAVE_SYNC_BOOL_COMPARE_AND_SWAP
- #undef STARPU_HAVE_SYNC_VAL_COMPARE_AND_SWAP
- #undef STARPU_HAVE_SYNC_FETCH_AND_ADD
- #undef STARPU_HAVE_SYNC_FETCH_AND_OR
- #undef STARPU_HAVE_SYNC_LOCK_TEST_AND_SET
- #undef STARPU_HAVE_SYNC_SYNCHRONIZE
- #undef STARPU_DEVEL
- #undef STARPU_MODEL_DEBUG
- #undef STARPU_NO_ASSERT
- #undef STARPU_DEBUG
- #undef STARPU_VERBOSE
- #undef STARPU_GDB_PATH
- #undef STARPU_HAVE_FFTW
- #undef STARPU_HAVE_FFTWF
- #undef STARPU_HAVE_FFTWL
- #undef STARPU_HAVE_CUFFTDOUBLECOMPLEX
- #undef STARPU_HAVE_CURAND
- #undef STARPU_MAXNODES
- #undef STARPU_NMAXBUFS
- #undef STARPU_MAXCPUS
- #undef STARPU_MAXNUMANODES
- #undef STARPU_MAXCUDADEVS
- #undef STARPU_MAXOPENCLDEVS
- #undef STARPU_MAXMICDEVS
- #undef STARPU_NMAXWORKERS
- #undef STARPU_NMAX_SCHED_CTXS
- #undef STARPU_MAXIMPLEMENTATIONS
- #undef STARPU_MAXMPKERNELS
- #undef STARPU_USE_SC_HYPERVISOR
- #undef STARPU_SC_HYPERVISOR_DEBUG
- #undef STARPU_HAVE_GLPK_H
- #undef STARPU_HAVE_CUDA_MEMCPY_PEER
- #undef STARPU_HAVE_LIBNUMA
- #undef STARPU_HAVE_WINDOWS
- #undef STARPU_LINUX_SYS
- #undef STARPU_HAVE_SETENV
- #undef STARPU_HAVE_UNSETENV
- #undef STARPU_HAVE_UNISTD_H
- #undef STARPU_HAVE_HDF5
- #undef STARPU_USE_FXT
- #undef STARPU_FXT_LOCK_TRACES
- #ifdef _MSC_VER
- typedef long starpu_ssize_t;
- #define __starpu_func__ __FUNCTION__
- #else
- # include <sys/types.h>
- typedef ssize_t starpu_ssize_t;
- #define __starpu_func__ __func__
- #endif
- #if defined(c_plusplus) || defined(__cplusplus)
- /* inline is part of C++ */
- # define __starpu_inline inline
- #elif defined(_MSC_VER) || defined(__HP_cc)
- # define __starpu_inline __inline
- #else
- # define __starpu_inline __inline__
- #endif
- #undef STARPU_QUICK_CHECK
- #undef STARPU_LONG_CHECK
- #undef STARPU_USE_DRAND48
- #undef STARPU_USE_ERAND48_R
- #undef STARPU_HAVE_NEARBYINTF
- #undef STARPU_HAVE_RINTF
- #undef STARPU_HAVE_HWLOC
- #undef STARPU_HAVE_PTHREAD_SPIN_LOCK
- #undef STARPU_HAVE_PTHREAD_BARRIER
- #undef STARPU_HAVE_PTHREAD_SETNAME_NP
- #undef STARPU_HAVE_STRUCT_TIMESPEC
- /* This is only for building examples */
- #undef STARPU_HAVE_HELGRIND_H
- /* Enable Fortran to C MPI interface */
- #undef HAVE_MPI_COMM_F2C
- #undef STARPU_HAVE_DARWIN
- #undef STARPU_HAVE_CXX11
- #undef STARPU_HAVE_STRERROR_R
- #undef STARPU_HAVE_STATEMENT_EXPRESSIONS
- #undef STARPU_PERF_MODEL_DIR
- #endif
|