1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: Add origami.

* gnu/packages/rocm-libs.scm (origami): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
David Elsing
2026-02-03 21:33:21 +01:00
committed by Ludovic Courtès
parent 16aeff94ea
commit 54b0973203

View File

@@ -24,6 +24,7 @@
#:use-module (guix packages)
#:use-module (gnu packages)
#:use-module (gnu packages base)
#:use-module (gnu packages boost)
#:use-module (gnu packages check)
#:use-module (gnu packages cpp)
#:use-module (gnu packages llvm)
@@ -210,6 +211,36 @@ AMD GPU assembly kernels.")
AMD GPU assembly kernels.")
(license (list license:expat))))
(define-public origami
(package
(name "origami")
(version %rocm-version)
(source
(rocm-library-source
name
#:location "shared/origami"))
(build-system cmake-build-system)
(arguments
(list
#:configure-flags #~'("-DROCM_FOUND=ON")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-cmake
(lambda _
(substitute* "cmake/dependencies.cmake"
(("find_package\\(Git REQUIRED\\)") "")))))))
(inputs (list rocm-hip-runtime))
(native-inputs
(list boost
googletest
rocm-cmake
rocm-toolchain))
(home-page %rocm-libraries-url)
(synopsis "Library for selecting GEMM configurations for AMD GPU kernels")
(description "@code{origami} provides a method for selecting GEMM
configurations deterministically based on compute and memory latencies.")
(license (list license:expat))))
(define-public tensile
(package
(name "tensile")