unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: 53922@debbugs.gnu.org
Cc: zimoun <zimon.toutoune@gmail.com>
Subject: [bug#53922] [PATCH 2/4] gnu: Add julia-bfloat16s.
Date: Thu, 10 Feb 2022 19:02:01 +0100	[thread overview]
Message-ID: <20220210180203.447519-2-zimon.toutoune@gmail.com> (raw)
In-Reply-To: <20220210180203.447519-1-zimon.toutoune@gmail.com>

* gnu/packages/julia-xyz.scm (julia-bfloat16s): New variable.
---
 gnu/packages/julia-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 20f37ea8dd..6d66da1cb3 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -361,6 +361,34 @@ (define-public julia-benchmarktools
 benchmarks as well as comparing benchmark results.")
     (license license:expat)))
 
+(define-public julia-bfloat16s
+  ;; Not tagged upstream
+  (let ((commit "ef6051e4308ed0c02f10168b99d226237e0ae33c")
+        (version "0.2.0"))
+    (package
+      (name "julia-bfloat16s")
+      (version version)
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/JuliaMath/BFloat16s.jl")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "16sr578k4i47lhziri47nvspdrsni2wc1qjhs6hzffh9si6a7jfq"))))
+      (build-system julia-build-system)
+      (home-page "https://github.com/JuliaMath/BFloat16s.jl")
+      (synopsis "Define BFloat16 data type")
+      (description "This package defines the @code{BFloat16} data type. The
+only currently available hardware implementation of this datatype are Google's
+Cloud TPUs.  As such, this package is suitable to evaluate whether using TPUs
+would cause precision problems for any particular algorithm, even without
+access to TPU hardware.  Note that this package is designed for functionality,
+not performance, so this package should be used for precision experiments
+only, not performance experiments.")
+      (license license:expat))))
+
 (define-public julia-bioalignments
   (package
     (name "julia-bioalignments")
-- 
2.34.0





  reply	other threads:[~2022-02-10 19:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-10 17:59 [bug#53922] [PATCH 0/4] Some Julia packages zimoun
2022-02-10 18:02 ` [bug#53922] [PATCH 1/4] gnu: Add julia-juno zimoun
2022-02-10 18:02   ` zimoun [this message]
2022-02-10 18:02   ` [bug#53922] [PATCH 3/4] gnu: Add julia-cenum zimoun
2022-02-10 18:02   ` [bug#53922] [PATCH 4/4] gnu: Add julia-gpuarrays zimoun
2022-02-16 11:43 ` bug#53922: [PATCH 0/4] Some Julia packages Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220210180203.447519-2-zimon.toutoune@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=53922@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).