diff --git a/hugo.toml b/hugo.toml index 84ab872..56f0a74 100644 --- a/hugo.toml +++ b/hugo.toml @@ -36,7 +36,7 @@ disableKinds = ['taxonomy', 'term', 'rss', 'sitemap', '404'] [[params.repos]] name = "ndarray" - kind = "library · v0.44.0" + kind = "library · v0.45.0" href = "https://github.com/go-ndarray/ndarray" blurb = "The library, in 13 dtypes with NumPy 2 promotion. Creation (Zeros/Arange/Linspace/…), strided views, broadcasting elementwise + ufuncs, reductions (Sum in NumPy's pairwise order, within a stated error bound checked against math/big, from go-simd/floats; Max/ArgMax/CumSum/Clip/Where), manipulation (Reshape/Concatenate/Stack), linalg (MatMul/Dot) on go-blas/blas, a panel-packed cache-blocked GEMM with a go-asmgen SIMD-FMA micro-kernel, the same kernels as before v0.42.0 (NEON 4×8 on arm64, AVX2/FMA 6×8 on amd64, VSX 8×8 on ppc64le, LASX 8×8 on loong64, RVV 6×8 on riscv64, 4×8 on s390x), and a Workspace arena for loops (Use/Reset/Detach). Packages linalg, fft and random are numpy.linalg, numpy.fft and numpy.random." [[params.repos]] diff --git a/layouts/index.html b/layouts/index.html index 1ea4c0e..28493be 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -104,11 +104,11 @@

{{ len .Site.Params.families }} families, NumPy's names.

100%
test coverage, differentially checked against numpy
-
51 / 256
public operations faster than NumPy 2.5.4 on one Zen 3 core (Sum 0.76×, fft.FFT 0.64×, Ravel 0.35× NumPy's time), 19 more tied
-
186 / 256
slower on one core, every one an open defect, tracked by cause in #118
+
54 / 256
public operations faster than NumPy 2.5.4 on one Zen 3 core (Sum 0.80×, fft.FFT 0.52×, Ravel 0.36× NumPy's time), 17 more tied
+
185 / 256
slower on one core, every one an open defect, tracked by cause in #118
≤ 0.51
ULP for Exp/Log, ports of Arm's optimized-routines
-
Measured, wins and losses, one core against one core. The whole public API was timed against NumPy 2.5.4 with one-thread OpenBLAS 0.3.34, on the same data and on one AMD Zen 3 core (the code of v0.44.0). Faster on 51 of 256 operations, for example Ravel (0.35× NumPy's time, a view since v0.44.0), Real (0.57×), SqrtInto (0.52×), the complex fft.FFT (0.64×) and Sum (0.76×); 19 more are ties, such as Exp (0.92×). Slower on 186, chiefly from: +
Measured, wins and losses, one core against one core. The whole public API was timed against NumPy 2.5.4 with one-thread OpenBLAS 0.3.34, on the same data and on one AMD Zen 3 core (v0.45.0). Faster on 54 of 256 operations, for example Ravel (0.36× NumPy's time, a view since v0.44.0), Real (0.58×), SqrtInto (0.50×), the complex fft.FFT (0.52×) and Sum (0.80×); 17 more are ties, such as Exp (0.98×). Slower on 185, chiefly from:
  • allocating the result (Add 3.1× NumPy's time, where AddInto ties);
  • elementwise operations without a vector kernel yet (Ceil 20×, Abs 12×);
  • @@ -135,7 +135,7 @@

    What is here.

    The cgo-free ndarray the Go and Ruby ecosystems lacked.

    -

    No cgo, no BLAS shim. A portable pure-Go core, multicore, with SIMD kernels on amd64, arm64, ppc64le, loong64, riscv64 and s390x and a Workspace arena that takes the garbage collector out of loops. Measured against NumPy one core against one core: faster on Sum, Exp, SqrtInto and the complex FFT, slower on 186 of 256 operations, which are being worked through. The numbers are on the performance page.

    +

    No cgo, no BLAS shim. A portable pure-Go core, multicore, with SIMD kernels on amd64, arm64, ppc64le, loong64, riscv64 and s390x and a Workspace arena that takes the garbage collector out of loops. Measured against NumPy one core against one core: faster on Sum, Exp, SqrtInto and the complex FFT, slower on 185 of 256 operations, which are being worked through. The numbers are on the performance page.

    {{ partial "icons/github.html" . }}Read the source on GitHub →
    diff --git a/playground/go.mod b/playground/go.mod index ea0a14d..79b3a55 100644 --- a/playground/go.mod +++ b/playground/go.mod @@ -3,7 +3,7 @@ module github.com/go-ndarray/go-ndarray.github.io/playground go 1.27.2 require ( - github.com/go-ndarray/ndarray v0.44.0 + github.com/go-ndarray/ndarray v0.45.0 github.com/go-widgets/mvvm v0.15.0 github.com/go-widgets/mvvmtk v0.15.0 github.com/go-widgets/painter v0.17.0 diff --git a/playground/go.sum b/playground/go.sum index d416522..c38d6d6 100644 --- a/playground/go.sum +++ b/playground/go.sum @@ -13,8 +13,8 @@ github.com/go-icons/iconoir v0.3.0 h1:kHG2sU5IsCvtBS1JICuXgfFo5f8UfwY1m7KYMVy97C github.com/go-icons/iconoir v0.3.0/go.mod h1:lPh5OuzVQ+rR4qDPGgAdSRUhnCbHeCAX70HDdwp8/RI= github.com/go-images/images v0.1.1-0.20261026203936-4ac989d310a1 h1:R7Phx1lhFniaqF+k7yE72HcadFeViKYXXb9w2puZJRI= github.com/go-images/images v0.1.1-0.20261026203936-4ac989d310a1/go.mod h1:TXN7V9gKgEe8L4GVYeTO01sQI6n5JUL5Q1xIl09qOio= -github.com/go-ndarray/ndarray v0.44.0 h1:gPlhI/zp+g6pdkVzQTkwGidfljDMAXOwnjuJ/pnIPLQ= -github.com/go-ndarray/ndarray v0.44.0/go.mod h1:9Xc6/jtUvvtoGKLCQjS5hGvohOW6cb6KWkrlDBBCQCo= +github.com/go-ndarray/ndarray v0.45.0 h1:Hsp8LHDjDmzm02dZBw/ZASlxmn/tbvsHPKrdhDAr1+8= +github.com/go-ndarray/ndarray v0.45.0/go.mod h1:9Xc6/jtUvvtoGKLCQjS5hGvohOW6cb6KWkrlDBBCQCo= github.com/go-opentype/fonts v0.14.0 h1:WHw7k9gkHT1pu9B2yyvd0FWyQqn/4NKFQoKhvMYt3Mo= github.com/go-opentype/fonts v0.14.0/go.mod h1:od2QcmdpKo7QCqo6Jb16y4GULk+h2Hhfq6x3xfvn62Q= github.com/go-opentype/opentype v0.16.2-0.20261027113239-5e69589e9a5e h1:SxBkVzp042LB0X7Ndu0WntqCVaewOm4DwikQYHenP5A=