summarylogtreecommitdiffstats
path: root/rocm_version.c
diff options
context:
space:
mode:
authorJP-Ellis2022-04-09 19:50:38 +1000
committerGitHub2022-04-09 11:50:38 +0200
commit1f0b3698a0cd6ffe5fa758074591d615d9b6475b (patch)
tree4811163a6929f4a1ed0a9b600f1a75623ea36157 /rocm_version.c
parente6268d09f9037a966644d3dd634c8f763e7d8a6b (diff)
downloadaur-1f0b3698a0cd6ffe5fa758074591d615d9b6475b.tar.gz
upgpkg: rocm-core 5.1.0-1 (#730)
* upgpkg: rocm-core 5.1.0-1 Signed-off-by: JP-Ellis <josh@jpellis.me> * Use upstream deb Use the upstream deb file to obtain the information and header files. The included source file is based on the disassembly of the binary as no source could be found. Partially fixes #739. Signed-off-by: JP-Ellis <josh@jpellis.me>
Diffstat (limited to 'rocm_version.c')
-rw-r--r--rocm_version.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/rocm_version.c b/rocm_version.c
new file mode 100644
index 000000000000..cadae485b150
--- /dev/null
+++ b/rocm_version.c
@@ -0,0 +1,10 @@
+#include "rocm_version.h"
+
+VerErrors getROCmVersion(unsigned int *Major, unsigned int *Minor,
+ unsigned int *Patch) {
+ *Major = ROCM_VERSION_MAJOR;
+ *Minor = ROCM_VERSION_MINOR;
+ *Patch = ROCM_VERSION_PATCH;
+
+ return 0;
+}