aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/rocm.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/rocm.scm')
-rw-r--r--gnu/packages/rocm.scm39
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/rocm.scm b/gnu/packages/rocm.scm
index 4ed4d95d60..2155ea2e49 100644
--- a/gnu/packages/rocm.scm
+++ b/gnu/packages/rocm.scm
@@ -169,3 +169,42 @@ AMDGPU code objects.")
(description "User-mode API interfaces used to interact with the ROCk
driver.")
(license license:ncsa)))
+
+(define-public rocr-runtime
+ (package
+ (name "rocr-runtime")
+ (version %rocm-version)
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/RadeonOpenCompute/ROCR-Runtime.git")
+ (commit (string-append "rocm-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0jqfqf5ymwlbpac065bhigmkgsk7mbyimdgvca7ymn38wpf80ka7"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:configure-flags
+ `(,(string-append
+ "-DBITCODE_DIR="
+ (assoc-ref %build-inputs "rocm-device-libs")
+ "/amdgcn/bitcode/"))
+ #:tests? #f ; No tests.
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda _
+ (chdir "src"))))))
+ (inputs
+ `(("libelf" ,libelf)
+ ("numactl" ,numactl)
+ ("llvm" ,llvm-for-rocm)
+ ("roct-thunk-interface" ,roct-thunk-interface)
+ ("rocm-device-libs" ,rocm-device-libs))) ; For bitcode.
+ (native-inputs `(("xxd" ,xxd)))
+ (home-page "https://github.com/RadeonOpenCompute/ROCR-Runtime")
+ (synopsis "ROCm Platform Runtime")
+ (description "User-mode API interfaces and libraries necessary for host
+applications to launch compute kernels to available HSA ROCm kernel agents.")
+ (license license:ncsa)))
horizations?id=6978d48d330fc18aa5d901d438ddfa1e63dc44f1'>.guix-authorizations: Remove wingo due to inactivity....Leo Famulari 2021-04-07.guix-authorizations: Remove sleep_walker due to inactivity....Leo Famulari 2021-04-07.guix-authorizations: Remove rhelling due to inactivity....Leo Famulari 2021-04-07.guix-authorizations: Remove lsl88 due to inactivity....Leo Famulari 2021-04-07.guix-authorizations: Remove benwoodcroft due to inactivity....Leo Famulari 2021-04-07.guix-authorizations: Remove alexvong1995 due to inactivity....Leo Famulari 2021-04-06.guix-authorizations: Remove taylanub....Leo Famulari 2021-04-06.guix-authorizations: Remove thomasd....Leo Famulari 2021-03-08.guix-authorizations: Add lbraun....Leo Famulari 2021-02-18.guix-authorizations: Add lle_bout....Tobias Geerinckx-Rice 2020-12-28.guix-authorizations: Add leoprikler....Ludovic Courtès 2020-11-15.guix-authorizations: Add jonsger....Marius Bakke 2020-10-16.guix-authorizations: Add m1gu3l....Ludovic Courtès 2020-09-04.guix-authorizations: Add planglois to the committers....Ludovic Courtès 2020-07-18.guix-authorizations: Add brettgilio (back) to the committers....Tobias Geerinckx-Rice 2020-07-01.guix-authorizations: Remove keys of two former contributors....Ludovic Courtès 2020-07-01.guix-authorizations: Remove former keys that are no longer used....Ludovic Courtès 2020-07-01.guix-authorizations: Remove brettgilio's old key....Ludovic Courtès