mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: Add rocm-hip-cpu.
* gnu/packages/rocm.scm (rocm-hip-cpu): New variable. Change-Id: I0b459ab0fe4b2e7f6835b906d178488fcb702a99 Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
This commit is contained in:
committed by
Danny Milosavljevic
parent
622145e1ab
commit
e13a228bcb
@@ -100,6 +100,34 @@ tasks needed for the ROCM software stack.")
|
||||
oclc, ocml, ockl, opencl, hip and hc.")
|
||||
(license license:ncsa)))
|
||||
|
||||
(define-public rocm-hip-cpu
|
||||
;; There are no releases or tags.
|
||||
(let ((commit "e112c935057434897bb12d9ab3910380a8bd5f58")
|
||||
(release "0"))
|
||||
(package
|
||||
(name "rocm-hip-cpu")
|
||||
(version "0.1.4142") ;from CMakeLists.txt
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/ROCm/HIP-CPU/")
|
||||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"1rbih56kfry7scvww54dwx8ph11ddzc5bf4ww1vs1vmhi3r05gpa"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:configure-flags #~(list "-DBUILD_EXAMPLES=ON")))
|
||||
(home-page "https://github.com/ROCm/HIP-CPU/")
|
||||
(synopsis "An implementation of HIP that works on CPUs")
|
||||
(description "The HIP CPU Runtime is a header-only library that allows
|
||||
CPUs to execute unmodified HIP code. It is generic and does not assume a
|
||||
particular CPU vendor or architecture.")
|
||||
(license license:expat))))
|
||||
|
||||
(define-public rocm-comgr
|
||||
(package
|
||||
(name "rocm-comgr")
|
||||
|
||||
Reference in New Issue
Block a user