starpu_config.h 5.1 KB

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