AUTH's THMMY "Parallel and distributed systems" course assignments.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

44 line
765 B

  1. /*!
  2. * \file config.h
  3. * \brief Build configuration file.
  4. *
  5. * \author
  6. * Christos Choutouridis AEM:8997
  7. * <cchoutou@ece.auth.gr>
  8. */
  9. #ifndef CONFIG_H_
  10. #define CONFIG_H_
  11. #include <cstdint>
  12. /*
  13. * Defines for different version of the exercise
  14. */
  15. #define BITONIC (1)
  16. #define BUBBLETONIC (2)
  17. // Fail-safe version selection
  18. #if !defined CODE_VERSION
  19. #define CODE_VERSION BITONIC
  20. #endif
  21. // Value type selection
  22. using distValue_t = uint8_t;
  23. /*!
  24. * Session option for each invocation of the executable
  25. */
  26. struct session_t {
  27. size_t arraySize{0};
  28. bool ndebug{false};
  29. bool timing{false};
  30. bool verbose{false}; //!< Flag to enable verbose output to stdout
  31. };
  32. extern session_t session;
  33. #endif /* CONFIG_H_ */