starpu_config.h 917 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #define STARPU_SIMGRID
  2. #define STARPU_MAXIMPLEMENTATIONS 4
  3. #define STARPU_NMAXBUFS 8
  4. #define STARPU_MAXNODES 2
  5. #define STARPU_NMAXWORKERS 16
  6. #ifndef _MSC_VER
  7. #include <stdint.h>
  8. #else
  9. #include <windows.h>
  10. typedef unsigned char uint8_t;
  11. typedef unsigned short uint16_t;
  12. typedef unsigned int uint32_t;
  13. typedef unsigned long long uint64_t;
  14. typedef UINT_PTR uintptr_t;
  15. typedef char int8_t;
  16. typedef short int16_t;
  17. typedef int int32_t;
  18. typedef long long int64_t;
  19. typedef INT_PTR intptr_t;
  20. #endif
  21. #ifdef _MSC_VER
  22. typedef long starpu_ssize_t;
  23. #define __starpu_func__ __FUNCTION__
  24. #else
  25. # include <sys/types.h>
  26. typedef ssize_t starpu_ssize_t;
  27. #define __starpu_func__ __func__
  28. #endif
  29. #if defined(c_plusplus) || defined(__cplusplus)
  30. /* inline is part of C++ */
  31. # define __starpu_inline inline
  32. #elif defined(_MSC_VER) || defined(__HP_cc)
  33. # define __starpu_inline __inline
  34. #else
  35. # define __starpu_inline __inline__
  36. #endif