AUTH's THMMY "Parallel and distributed systems" course assignments.
25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- /*!
- * \file config.h
- * \brief Build configuration file.
- *
- * \author
- * Christos Choutouridis AEM:8997
- * <cchoutou@ece.auth.gr>
- */
-
- #ifndef CONFIG_H_
- #define CONFIG_H_
-
- #include <cstdint>
-
- /*
- * Defines for different version of the exercise
- */
- #define BITONIC (1)
- #define BUBBLETONIC (2)
-
-
- // Fail-safe version selection
- #if !defined CODE_VERSION
- #define CODE_VERSION BITONIC
- #endif
-
- // Value type selection
- using distValue_t = uint8_t;
-
- /*!
- * Session option for each invocation of the executable
- */
- struct session_t {
- size_t arraySize{0};
- bool ndebug{false};
- bool timing{false};
- bool verbose{false}; //!< Flag to enable verbose output to stdout
- };
-
- extern session_t session;
-
-
- #endif /* CONFIG_H_ */
|