starpu_config.h.in 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. /* StarPU --- Runtime system for heterogeneous multicore architectures.
  2. *
  3. * Copyright (C) 2009-2012 Université de Bordeaux 1
  4. * Copyright (C) 2010, 2011, 2012 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_USE_CPU
  22. #undef STARPU_USE_CUDA
  23. #undef STARPU_USE_OPENCL
  24. #undef STARPU_USE_GORDON
  25. #undef STARPU_HAVE_ICC
  26. #undef STARPU_USE_MPI
  27. #undef STARPU_ATLAS
  28. #undef STARPU_GOTO
  29. #undef STARPU_MKL
  30. #undef STARPU_SYSTEM_BLAS
  31. #undef STARPU_BUILD_DIR
  32. #undef STARPU_OPENCL_DATADIR
  33. #undef STARPU_HAVE_MAGMA
  34. #undef STARPU_OPENGL_RENDER
  35. #undef STARPU_USE_GTK
  36. #undef STARPU_HAVE_X11
  37. #undef STARPU_HAVE_POSIX_MEMALIGN
  38. #undef STARPU_HAVE_MEMALIGN
  39. #undef STARPU_HAVE_MALLOC_H
  40. #undef STARPU_HAVE_SYNC_BOOL_COMPARE_AND_SWAP
  41. #undef STARPU_HAVE_SYNC_FETCH_AND_ADD
  42. #undef STARPU_HAVE_SYNC_FETCH_AND_OR
  43. #undef STARPU_HAVE_SYNC_LOCK_TEST_AND_SET
  44. #undef STARPU_MODEL_DEBUG
  45. #undef STARPU_NO_ASSERT
  46. #undef STARPU_HAVE_FFTW
  47. #undef STARPU_HAVE_FFTWF
  48. #undef STARPU_HAVE_FFTWL
  49. #undef STARPU_HAVE_CURAND
  50. #undef STARPU_MAXNODES
  51. #undef STARPU_NMAXBUFS
  52. #undef STARPU_MAXCPUS
  53. #undef STARPU_MAXCUDADEVS
  54. #undef STARPU_MAXOPENCLDEVS
  55. #undef STARPU_MAXGORDONDEVS
  56. #undef STARPU_NMAXWORKERS
  57. #undef STARPU_MAXIMPLEMENTATIONS
  58. #undef STARPU_HAVE_LIBNUMA
  59. #undef STARPU_HAVE_WINDOWS
  60. #undef STARPU_HAVE_UNSETENV
  61. #ifdef _MSC_VER
  62. typedef long starpu_ssize_t;
  63. #define __starpu_func__ __FUNCTION__
  64. #else
  65. # include <sys/types.h>
  66. typedef ssize_t starpu_ssize_t;
  67. #define __starpu_func__ __func__
  68. #endif
  69. #undef STARPU_QUICK_CHECK
  70. #undef STARPU_USE_DRAND48
  71. #undef STARPU_USE_ERAND48_R
  72. #endif