mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: rocm: Add 'current-amd-gpu-targets-string'.
This is a string of GPU architectures separated by ";", which is commonly used by ROCm libraries. * gnu/packages/rocm.scm (current-amd-gpu-targets-string): New macro. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
committed by
Ludovic Courtès
parent
96bd726277
commit
fd40faec42
@@ -329,6 +329,10 @@ particular CPU vendor or architecture.")
|
||||
(or (assoc-ref (package-properties this-package) 'amd-gpu-targets)
|
||||
%default-amd-gpu-targets))
|
||||
|
||||
(define-syntax-rule (current-amd-gpu-targets-string)
|
||||
"Return the list of AMD GPU targets for this package, as a string separated by \";\"."
|
||||
(string-join (current-amd-gpu-targets) ";"))
|
||||
|
||||
(define-public rocm-bandwidth-test
|
||||
(package
|
||||
(name "rocm-bandwidth-test")
|
||||
|
||||
Reference in New Issue
Block a user