starpu_config.h.in 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. /* StarPU --- Runtime system for heterogeneous multicore architectures.
  2. *
  3. * Copyright (C) 2009-2015 Université de Bordeaux
  4. * Copyright (C) 2010, 2011, 2012, 2013 Centre National de la Recherche Scientifique
  5. * Copyright (C) 2014 Inria
  6. *
  7. * StarPU is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU Lesser General Public License as published by
  9. * the Free Software Foundation; either version 2.1 of the License, or (at
  10. * your option) any later version.
  11. *
  12. * StarPU is distributed in the hope that it will be useful, but
  13. * WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  15. *
  16. * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  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. #ifndef __STARPU_CONFIG_PUBLIC_H__
  25. #define __STARPU_CONFIG_PUBLIC_H__
  26. #undef STARPU_MAJOR_VERSION
  27. #undef STARPU_MINOR_VERSION
  28. #undef STARPU_RELEASE_VERSION
  29. #undef STARPU_USE_CPU
  30. #undef STARPU_USE_CUDA
  31. #undef STARPU_USE_OPENCL
  32. #undef STARPU_USE_MIC
  33. #undef STARPU_USE_SCC
  34. #undef STARPU_OPENMP
  35. #undef STARPU_SIMGRID
  36. #undef STARPU_SIMGRID_HAVE_XBT_BARRIER_INIT
  37. #undef STARPU_HAVE_ICC
  38. #undef STARPU_USE_MPI
  39. #undef STARPU_ATLAS
  40. #undef STARPU_GOTO
  41. #undef STARPU_MKL
  42. #undef STARPU_SYSTEM_BLAS
  43. #undef STARPU_BUILD_DIR
  44. #undef STARPU_OPENCL_DATADIR
  45. #undef STARPU_HAVE_MAGMA
  46. #undef STARPU_OPENGL_RENDER
  47. #undef STARPU_USE_GTK
  48. #undef STARPU_HAVE_X11
  49. #undef STARPU_HAVE_POSIX_MEMALIGN
  50. #undef STARPU_HAVE_MEMALIGN
  51. #undef STARPU_HAVE_MALLOC_H
  52. #undef STARPU_HAVE_SYNC_BOOL_COMPARE_AND_SWAP
  53. #undef STARPU_HAVE_SYNC_VAL_COMPARE_AND_SWAP
  54. #undef STARPU_HAVE_SYNC_FETCH_AND_ADD
  55. #undef STARPU_HAVE_SYNC_FETCH_AND_OR
  56. #undef STARPU_HAVE_SYNC_LOCK_TEST_AND_SET
  57. #undef STARPU_HAVE_SYNC_SYNCHRONIZE
  58. #undef STARPU_MODEL_DEBUG
  59. #undef STARPU_NO_ASSERT
  60. #undef STARPU_HAVE_FFTW
  61. #undef STARPU_HAVE_FFTWF
  62. #undef STARPU_HAVE_FFTWL
  63. #undef STARPU_HAVE_CURAND
  64. #undef STARPU_MAXNODES
  65. #undef STARPU_NMAXBUFS
  66. #undef STARPU_MAXCPUS
  67. #undef STARPU_MAXCUDADEVS
  68. #undef STARPU_MAXOPENCLDEVS
  69. #undef STARPU_MAXMICDEVS
  70. #undef STARPU_MAXSCCDEVS
  71. #undef STARPU_NMAXWORKERS
  72. #undef STARPU_NMAX_SCHED_CTXS
  73. #undef STARPU_MAXIMPLEMENTATIONS
  74. #undef STARPU_MAXMPKERNELS
  75. #undef STARPU_USE_SC_HYPERVISOR
  76. #undef STARPU_SC_HYPERVISOR_DEBUG
  77. #undef STARPU_HAVE_GLPK_H
  78. #undef STARPU_HAVE_LIBNUMA
  79. #undef STARPU_HAVE_WINDOWS
  80. #undef STARPU_LINUX_SYS
  81. #undef STARPU_HAVE_UNSETENV
  82. #ifdef _MSC_VER
  83. typedef long starpu_ssize_t;
  84. #define __starpu_func__ __FUNCTION__
  85. #else
  86. # include <sys/types.h>
  87. typedef ssize_t starpu_ssize_t;
  88. #define __starpu_func__ __func__
  89. #endif
  90. #if defined(c_plusplus) || defined(__cplusplus)
  91. /* inline is part of C++ */
  92. # define __starpu_inline inline
  93. #elif defined(_MSC_VER) || defined(__HP_cc)
  94. # define __starpu_inline __inline
  95. #else
  96. # define __starpu_inline __inline__
  97. #endif
  98. #undef STARPU_QUICK_CHECK
  99. #undef STARPU_USE_DRAND48
  100. #undef STARPU_USE_ERAND48_R
  101. #undef STARPU_HAVE_NEARBYINTF
  102. #undef STARPU_HAVE_RINTF
  103. #undef STARPU_USE_TOP
  104. #undef STARPU_HAVE_HWLOC
  105. #undef STARPU_HAVE_PTHREAD_SPIN_LOCK
  106. #undef STARPU_HAVE_PTHREAD_BARRIER
  107. #undef STARPU_HAVE_STRUCT_TIMESPEC
  108. #endif