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.

27 lines
656 B

  1. #include "version.h"
  2. #include "storm-cudaplugin-config.h"
  3. size_t getStormCudaPluginVersionMajor() {
  4. return STORM_CUDAPLUGIN_VERSION_MAJOR;
  5. }
  6. size_t getStormCudaPluginVersionMinor() {
  7. return STORM_CUDAPLUGIN_VERSION_MINOR;
  8. }
  9. size_t getStormCudaPluginVersionPatch() {
  10. return STORM_CUDAPLUGIN_VERSION_PATCH;
  11. }
  12. size_t getStormCudaPluginVersionCommitsAhead() {
  13. return STORM_CUDAPLUGIN_VERSION_COMMITS_AHEAD;
  14. }
  15. const char* getStormCudaPluginVersionHash() {
  16. static const std::string versionHash = STORM_CUDAPLUGIN_VERSION_HASH;
  17. return versionHash.c_str();
  18. }
  19. bool getStormCudaPluginVersionIsDirty() {
  20. return ((STORM_CUDAPLUGIN_VERSION_DIRTY) != 0);
  21. }