starpu_config.h.in 2.9 KB

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