[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/11: gnu: Add rocclr.
From: |
guix-commits |
Subject: |
07/11: gnu: Add rocclr. |
Date: |
Sun, 8 Aug 2021 10:57:28 -0400 (EDT) |
lbraun pushed a commit to branch master
in repository guix.
commit 7221722dd53e466846ba6467373f7a71b28091e9
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Fri Aug 6 08:25:38 2021 +0200
gnu: Add rocclr.
* gnu/packages/rocm.scm (rocclr): New variable.
---
gnu/packages/rocm.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/rocm.scm b/gnu/packages/rocm.scm
index 2155ea2..631d833 100644
--- a/gnu/packages/rocm.scm
+++ b/gnu/packages/rocm.scm
@@ -208,3 +208,48 @@ driver.")
(description "User-mode API interfaces and libraries necessary for host
applications to launch compute kernels to available HSA ROCm kernel agents.")
(license license:ncsa)))
+
+(define-public rocclr
+ (package
+ (name "rocclr")
+ (version %rocm-version)
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ROCm-Developer-Tools/ROCclr.git")
+ (commit (string-append "rocm-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1pm1y020zriz7zmi95w0rcpka0jrsc7wwh81sssnysi8wxk3nnfy"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:tests? #f ; No tests.
+ #:configure-flags
+ `(,(string-append
+ "-DOPENCL_DIR="
+ (assoc-ref %build-inputs "rocm-opencl-runtime-src")))))
+ (inputs
+ `(("mesa" ,mesa)
+ ("rocm-comgr" ,rocm-comgr)
+ ("llvm" ,llvm-for-rocm)
+ ("rocm-device-libs" ,rocm-device-libs)
+ ("rocr-runtime" ,rocr-runtime)
+ ("rocm-cmake" ,rocm-cmake)
+ ;; rocclr depends on a few headers provided by rocm-opencl-runtime.
+ ("rocm-opencl-runtime-src"
+ ,(origin
+ (method git-fetch)
+ (uri (git-reference
+ (url
"https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime.git")
+ (commit (string-append "rocm-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1cglpiaj3ny1z74ssmy6j63vj92sfy4q38ix6qsga0mg3b2wvqz3"))))))
+ (home-page "https://github.com/ROCm-Developer-Tools/ROCclr")
+ (synopsis "Radeon Open Compute Common Language Runtime")
+ (description "ROCclr is a virtual device interface that compute runtimes
+interact with to different backends such as ROCr or PAL. This abstraction
+allows runtimes to work on Windows as well as on Linux without much effort.")
+ (license license:ncsa)))
- branch master updated (a75cc5f -> e81cf4e), guix-commits, 2021/08/08
- 02/11: gnu: Add llvm-for-rocm., guix-commits, 2021/08/08
- 01/11: gnu: Add rocm-cmake., guix-commits, 2021/08/08
- 04/11: gnu: Add rocm-comgr., guix-commits, 2021/08/08
- 07/11: gnu: Add rocclr.,
guix-commits <=
- 06/11: gnu: Add rocr-runtime., guix-commits, 2021/08/08
- 10/11: gnu: Add rocm-bandwidth-test., guix-commits, 2021/08/08
- 09/11: gnu: Add rocminfo., guix-commits, 2021/08/08
- 08/11: gnu: Add rocm-opencl-runtime., guix-commits, 2021/08/08
- 11/11: gnu: darktable: Add compatibility for ROCm., guix-commits, 2021/08/08
- 05/11: gnu: Add roct-thunk-interface., guix-commits, 2021/08/08
- 03/11: gnu: Add rocm-device-libs., guix-commits, 2021/08/08