me
/
guix
Archived
1
0
Fork 0

gnu: Add oneDNN.

* gnu/packages/machine-learning.scm (oneapi-dnnl): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
master
zamfofex 2023-04-26 10:17:38 -03:00 committed by 宋文武
parent af6ed2fc14
commit b718e42c96
No known key found for this signature in database
GPG Key ID: D415BF253B515976
1 changed files with 21 additions and 0 deletions

View File

@ -18,6 +18,7 @@
;;; Copyright © 2020, 2021, 2022, 2023 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020, 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2022, 2023 Nicolas Graves <ngraves@ngraves.fr>
;;; Copyright © 2023 zamfofex <zamfofex@twdb.moe>
;;;
;;; This file is part of GNU Guix.
;;;
@ -4303,3 +4304,23 @@ easily extensible.")
Brian 2 simulator.")
(license license:cecill)))
(define-public oneapi-dnnl
(package
(name "oneapi-dnnl")
(version "3.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/oneapi-src/oneDNN")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1jgmb5kl0bf4a2zfn94zlb117672r9lvvkkmwl86ihlyr1mpr3d0"))))
(build-system cmake-build-system)
(home-page "https://github.com/oneapi-src/oneDNN")
(synopsis "Deep Neural Network Library")
(description
"OneAPI Deep Neural Network Library (oneDNN) is a cross-platform
performance library of basic building blocks for deep learning applications.")
(license license:asl2.0)))