guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/11: gnu: Add roct-thunk-interface.


From: guix-commits
Subject: 05/11: gnu: Add roct-thunk-interface.
Date: Sun, 8 Aug 2021 10:57:27 -0400 (EDT)

lbraun pushed a commit to branch master
in repository guix.

commit dc5755c41133bb303f775e2143a0919240f4562c
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Fri Aug 6 08:23:53 2021 +0200

    gnu: Add roct-thunk-interface.
    
    * gnu/packages/rocm.scm (roct-thunk-interface): New variable.
---
 gnu/packages/rocm.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/rocm.scm b/gnu/packages/rocm.scm
index 5ecc741..4ed4d95 100644
--- a/gnu/packages/rocm.scm
+++ b/gnu/packages/rocm.scm
@@ -147,3 +147,25 @@ oclc, ocml, ockl, opencl, hip and hc.")
     (description "The Comgr library provides APIs for compiling and inspecting
 AMDGPU code objects.")
     (license license:ncsa)))
+
+(define-public roct-thunk-interface
+  (package
+    (name "roct-thunk-interface")
+    (version %rocm-version)
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url 
"https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface.git";)
+                    (commit (string-append "rocm-" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0ffqhrrscmcydfqf61dk58d7nnxk6n2k68jhqfj7a4hvhlphb74f"))))
+    (build-system cmake-build-system)
+    (arguments `(#:tests? #f)) ; Not sure how to run tests.
+    (inputs `(("numactl" ,numactl)))
+    (home-page "https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface";)
+    (synopsis "Radeon Open Compute Thunk Interface")
+    (description "User-mode API interfaces used to interact with the ROCk
+driver.")
+    (license license:ncsa)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]