You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

version.h 636 B

12345678910111213141516171819202122232425262728
  1. #pragma once
  2. #include "megbrain_build_config.h"
  3. #define MGE_MAJOR 1
  4. #define MGE_MINOR 11
  5. #define MGE_PATCH 0
  6. // for rc version, could be like "rc1", "rc2", etc
  7. #define MGE_EXTRA_NAME ""
  8. //! whether it is development version
  9. #ifndef MGB_IS_DEV
  10. #define MGB_IS_DEV 0
  11. #endif // MGB_IS_DEV
  12. namespace mgb {
  13. struct Version {
  14. int major, minor, patch, is_dev;
  15. };
  16. MGE_WIN_DECLSPEC_FUC Version get_version();
  17. MGE_WIN_DECLSPEC_FUC int get_cuda_version();
  18. MGE_WIN_DECLSPEC_FUC int get_cudnn_version();
  19. MGE_WIN_DECLSPEC_FUC int get_tensorrt_version();
  20. } // namespace mgb
  21. // vim: syntax=cpp.doxygen foldmethod=marker foldmarker=f{{{,f}}}