From patchwork Thu Feb 10 18:02:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Tournier X-Patchwork-Id: 37169 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 958F527BBEB; Thu, 10 Feb 2022 19:57:55 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5F49427BBEA for ; Thu, 10 Feb 2022 19:57:55 +0000 (GMT) Received: from localhost ([::1]:58164 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIFZi-00017z-II for patchwork@mira.cbaines.net; Thu, 10 Feb 2022 14:57:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIDmZ-0007Rj-Fg for guix-patches@gnu.org; Thu, 10 Feb 2022 13:03:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34932) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nIDmZ-0005sG-6e for guix-patches@gnu.org; Thu, 10 Feb 2022 13:03:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nIDmZ-0004h0-4w for guix-patches@gnu.org; Thu, 10 Feb 2022 13:03:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53922] [PATCH 2/4] gnu: Add julia-bfloat16s. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 10 Feb 2022 18:03:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53922 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53922@debbugs.gnu.org Cc: zimoun Received: via spool by 53922-submit@debbugs.gnu.org id=B53922.164451614617966 (code B ref 53922); Thu, 10 Feb 2022 18:03:03 +0000 Received: (at 53922) by debbugs.gnu.org; 10 Feb 2022 18:02:26 +0000 Received: from localhost ([127.0.0.1]:57058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIDlx-0004fb-IP for submit@debbugs.gnu.org; Thu, 10 Feb 2022 13:02:25 -0500 Received: from mail-wr1-f53.google.com ([209.85.221.53]:35805) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIDls-0004er-DG for 53922@debbugs.gnu.org; Thu, 10 Feb 2022 13:02:21 -0500 Received: by mail-wr1-f53.google.com with SMTP id v12so11069479wrv.2 for <53922@debbugs.gnu.org>; Thu, 10 Feb 2022 10:02:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZjlKYR2SSzB6bUJKiztUqshgC8iYDY0eytrme66T1lg=; b=o/9dcfvB4FVBG9VZZEbwcvf1jJSrDaRl3R20SLP9FGCdqPO/Sqv7ffSkBqLmArC11f fYCvNg5axWCqNdjVptlvn9QabEoGYFfx2NBXPqMV1eG6XUDFWf+ItAyfPXpwZziew/dN ZuMhou6s6CH0j0tkPn0HsdpX/uH3GOVWCl3WEQljP/MVK+cDtKUbqyNdrQG+o8SIjJjc QMVbHt7iDSVqD3M59d6zfEkt/ILFJujr7hVTkYrC5n6qx+MFl5oU+Srt1jLnpF+2t4S+ b4AbsocxIphmHJEqUaA6znjyEGKyU/tzVeCk8eYUKkg8kmeaKfjtXcwyKwDZpGs6oUzD hu3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZjlKYR2SSzB6bUJKiztUqshgC8iYDY0eytrme66T1lg=; b=GZmykVpyU7Zydiyu3W0YR+xRUqwr3p+3KQI+hfd2BDDAMdwt8aqp2Oa65APb+VooVB kZIGHHKuHngjLx+MV7HTqYbXKKppjgqTGusCSnAb53xoUm9TGRF/AKnb9J2uFmynMSAE PVbWMpO9w4WwWfJUMU4m5fBBzlEiIgJsI/zO7wUR/mO7QMXk+zenoP3fWNPOCMD7+t6r w1UkJgCHW4CsVUE6mhqGrp5RHZoJKByCKaqoTZn8H40OpH8CitGolfVVsLtWlTl1EveP XdCwftGNtYaKwC2m8RUvFVPdprITbqSHSlRhNBiW2BYrzSavl7FcqFMM/UKHXXV+bh0+ kGiA== X-Gm-Message-State: AOAM533YQCTvF1Ph9WJDeS4Ya9qN5kW95yOGdN3e8unapRDNwfiLMXRP WHCAReq7k+qZu75KMLJUtCX9Ft3v5Wo= X-Google-Smtp-Source: ABdhPJzgkRjAc3iSd5zCMxYeTm4GASck8qL7gXHgTdpgkI9JpQX4KstZMHXyxPvzo6I/kMrfFCyeVg== X-Received: by 2002:adf:f548:: with SMTP id j8mr7105556wrp.41.1644516134653; Thu, 10 Feb 2022 10:02:14 -0800 (PST) Received: from localhost.localdomain ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id n14sm19681267wri.80.2022.02.10.10.02.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Feb 2022 10:02:14 -0800 (PST) From: zimoun Date: Thu, 10 Feb 2022 19:02:01 +0100 Message-Id: <20220210180203.447519-2-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220210180203.447519-1-zimon.toutoune@gmail.com> References: <20220210180203.447519-1-zimon.toutoune@gmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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")