@@ -4584,3 +4584,27 @@ (define-public oneapi-dnnl
"OneAPI Deep Neural Network Library (oneDNN) is a cross-platform
performance library of basic building blocks for deep learning applications.")
(license license:asl2.0)))
+
+
+(define-public dmlc-dlpack
+ (package
+ (name "dmlc-dlpack")
+ (version "0.8")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dmlc/dlpack")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1jmfvdrx8dn9b0ksm04ixha0jnrk35ip796qg98kfz6g7niw5ir1"))))
+ (build-system cmake-build-system)
+ (arguments (list #:tests? #f)) ; no tests
+ (home-page "https://dmlc.github.io/dlpack/latest")
+ (synopsis "Open In Memory Tensor Structure")
+ (description
+ "DLPack is an open in-memory tensor structure for sharing tensors among frameworks")
+ (license license:asl2.0)))
+
+