starpu_config.h 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. /* include/starpu_config.h. Generated from starpu_config.h.in by configure. */
  2. /* StarPU --- Runtime system for heterogeneous multicore architectures.
  3. *
  4. * Copyright (C) 2011,2012,2014,2016,2017 Inria
  5. <<<<<<< HEAD
  6. * Copyright (C) 2009-2019 Université de Bordeaux
  7. =======
  8. * Copyright (C) 2009-2018 Université de Bordeaux
  9. >>>>>>> 8e2d401663e25038bae3c01c68fb544e638ec51c
  10. * Copyright (C) 2010-2017,2019 CNRS
  11. *
  12. * StarPU is free software; you can redistribute it and/or modify
  13. * it under the terms of the GNU Lesser General Public License as published by
  14. * the Free Software Foundation; either version 2.1 of the License, or (at
  15. * your option) any later version.
  16. *
  17. * StarPU is distributed in the hope that it will be useful, but
  18. * WITHOUT ANY WARRANTY; without even the implied warranty of
  19. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  20. *
  21. * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  22. */
  23. /*
  24. * This is the public config.h file, installed along libstarpu.
  25. *
  26. * It should only contain the build-time #defines which have an effect on the
  27. * API & ABI.
  28. */
  29. #ifndef __STARPU_CONFIG_PUBLIC_H__
  30. #define __STARPU_CONFIG_PUBLIC_H__
  31. #define STARPU_MAJOR_VERSION 1
  32. #define STARPU_MINOR_VERSION 3
  33. #define STARPU_RELEASE_VERSION 99
  34. #define STARPU_USE_CPU 1
  35. /* #undef STARPU_USE_CUDA */
  36. /* #undef STARPU_USE_OPENCL */
  37. /* #undef STARPU_USE_MIC */
  38. /* #undef STARPU_USE_MPI_MASTER_SLAVE */
  39. #define STARPU_OPENMP 1
  40. /* #undef STARPU_CLUSTER */
  41. /* #undef STARPU_SIMGRID */
  42. /* #undef STARPU_SIMGRID_MC */
  43. /* #undef STARPU_SIMGRID_HAVE_XBT_BARRIER_INIT */
  44. /* #undef STARPU_HAVE_SIMGRID_MSG_H */
  45. <<<<<<< HEAD
  46. /* #undef STARPU_HAVE_SIMGRID_ACTOR_H */
  47. /* #undef STARPU_HAVE_SIMGRID_SEMAPHORE_H */
  48. /* #undef STARPU_HAVE_SIMGRID_MUTEX_H */
  49. /* #undef STARPU_HAVE_SIMGRID_COND_H */
  50. /* #undef STARPU_HAVE_SIMGRID_BARRIER_H */
  51. =======
  52. >>>>>>> 8e2d401663e25038bae3c01c68fb544e638ec51c
  53. /* #undef STARPU_HAVE_XBT_SYNCHRO_H */
  54. /* #undef STARPU_HAVE_VALGRIND_H */
  55. /* #undef STARPU_HAVE_MEMCHECK_H */
  56. /* #undef STARPU_VALGRIND_FULL */
  57. /* #undef STARPU_SANITIZE_LEAK */
  58. #define STARPU_NON_BLOCKING_DRIVERS 1
  59. /* workers must call callbacks on sleep/wake-up */
  60. /* #undef STARPU_WORKER_CALLBACKS */
  61. /* #undef STARPU_HAVE_ICC */
  62. /* #undef STARPU_USE_MPI */
  63. /* #undef STARPU_USE_MPI_MPI */
  64. /* #undef STARPU_USE_MPI_NMAD */
  65. /* #undef STARPU_ATLAS */
  66. /* #undef STARPU_GOTO */
  67. /* #undef STARPU_OPENBLAS */
  68. /* #undef STARPU_MKL */
  69. /* #undef STARPU_ARMPL */
  70. #define STARPU_SYSTEM_BLAS 1
  71. /* #undef STARPU_OPENCL_DATADIR */
  72. /* #undef STARPU_HAVE_MAGMA */
  73. /* #undef STARPU_OPENGL_RENDER */
  74. /* #undef STARPU_USE_GTK */
  75. #define STARPU_HAVE_X11 1
  76. #define STARPU_HAVE_POSIX_MEMALIGN 1
  77. #define STARPU_HAVE_MEMALIGN 1
  78. #define STARPU_HAVE_MALLOC_H 1
  79. #define STARPU_HAVE_SYNC_BOOL_COMPARE_AND_SWAP 1
  80. #define STARPU_HAVE_SYNC_VAL_COMPARE_AND_SWAP 1
  81. #define STARPU_HAVE_SYNC_FETCH_AND_ADD 1
  82. #define STARPU_HAVE_SYNC_FETCH_AND_OR 1
  83. #define STARPU_HAVE_SYNC_LOCK_TEST_AND_SET 1
  84. #define STARPU_HAVE_SYNC_SYNCHRONIZE 1
  85. /* #undef STARPU_DEVEL */
  86. /* #undef STARPU_MODEL_DEBUG */
  87. /* #undef STARPU_NO_ASSERT */
  88. /* #undef STARPU_DEBUG */
  89. /* #undef STARPU_VERBOSE */
  90. #define STARPU_GDB_PATH "/usr/bin/gdb"
  91. #define STARPU_HAVE_FFTW 1
  92. #define STARPU_HAVE_FFTWF 1
  93. #define STARPU_HAVE_FFTWL 1
  94. /* #undef STARPU_HAVE_CUFFTDOUBLECOMPLEX */
  95. /* #undef STARPU_HAVE_CURAND */
  96. #define STARPU_MAXNODES 16
  97. #define STARPU_NMAXBUFS 8
  98. #define STARPU_MAXCPUS 64
  99. #define STARPU_MAXNUMANODES 2
  100. #define STARPU_MAXCUDADEVS 4
  101. // BEGIN FPGA
  102. #define STARPU_MAXFPGADEVS 12
  103. // END FPGA
  104. #define STARPU_MAXOPENCLDEVS 8
  105. #define STARPU_MAXMICDEVS 0
  106. #define STARPU_NMAXWORKERS 80
  107. #define STARPU_NMAX_SCHED_CTXS 10
  108. #define STARPU_MAXIMPLEMENTATIONS 4
  109. #define STARPU_MAXMPKERNELS 10
  110. /* #undef STARPU_USE_SC_HYPERVISOR */
  111. /* #undef STARPU_SC_HYPERVISOR_DEBUG */
  112. /* #undef STARPU_HAVE_GLPK_H */
  113. /* #undef STARPU_HAVE_CUDA_MEMCPY_PEER */
  114. /* #undef STARPU_HAVE_LIBNUMA */
  115. /* #undef STARPU_HAVE_WINDOWS */
  116. #define STARPU_LINUX_SYS 1
  117. #define STARPU_HAVE_SETENV 1
  118. #define STARPU_HAVE_UNSETENV 1
  119. #define STARPU_HAVE_UNISTD_H 1
  120. /* #undef STARPU_HAVE_HDF5 */
  121. /* #undef STARPU_USE_FXT */
  122. /* #undef STARPU_FXT_LOCK_TRACES */
  123. #ifdef _MSC_VER
  124. typedef long starpu_ssize_t;
  125. #define __starpu_func__ __FUNCTION__
  126. #else
  127. # include <sys/types.h>
  128. typedef ssize_t starpu_ssize_t;
  129. #define __starpu_func__ __func__
  130. #endif
  131. #if defined(c_plusplus) || defined(__cplusplus)
  132. /* inline is part of C++ */
  133. # define __starpu_inline inline
  134. #elif defined(_MSC_VER) || defined(__HP_cc)
  135. # define __starpu_inline __inline
  136. #else
  137. # define __starpu_inline __inline__
  138. #endif
  139. /* #undef STARPU_QUICK_CHECK */
  140. /* #undef STARPU_LONG_CHECK */
  141. #define STARPU_USE_DRAND48 1
  142. #define STARPU_USE_ERAND48_R 1
  143. #define STARPU_HAVE_NEARBYINTF 1
  144. #define STARPU_HAVE_RINTF 1
  145. #define STARPU_HAVE_HWLOC 1
  146. #define STARPU_HAVE_PTHREAD_SPIN_LOCK 1
  147. #define STARPU_HAVE_PTHREAD_BARRIER 1
  148. #define STARPU_HAVE_PTHREAD_SETNAME_NP 1
  149. #define STARPU_HAVE_STRUCT_TIMESPEC 1
  150. /* This is only for building examples */
  151. /* #undef STARPU_HAVE_HELGRIND_H */
  152. /* Enable Fortran to C MPI interface */
  153. /* #undef HAVE_MPI_COMM_F2C */
  154. /* #undef STARPU_HAVE_DARWIN */
  155. #define STARPU_HAVE_CXX11 1
  156. #define STARPU_HAVE_STRERROR_R 1
  157. #define STARPU_HAVE_STATEMENT_EXPRESSIONS 1
  158. /* #undef STARPU_PERF_MODEL_DIR */
  159. #endif