JuliaLinearAlgebra / BLIS.jl

This repo plans to provide a low-level Julia wrapper for BLIS typed interface.
BSD 3-Clause "New" or "Revised" License
26 stars 4 forks source link

Strided GEMM Failing #1

Closed xrq-phys closed 3 years ago

xrq-phys commented 3 years ago

Platform: macOS and some Linux Problem: multiplying A & B with at least one side generically-strided (e.g. A = view(Abase, 1:Mst:M, ...) | Mst>1) yields all-0 results. Possible cause: upstream (reproduced in C). Status: investigating. Workaround: as is stated in README.jl, failed methods can be blacklisted to block from the LinearAlgebra interface:

echo "gemm" > ~/.blis_jlbla_blacklist
# Trigger JIT reload.
touch $(find ~/.julia/packages/ -name "BLIS.jl" | tail -n 1)
xrq-phys commented 3 years ago

Maybe this is the cause: flame/blis#484

xrq-phys commented 3 years ago

Upstream fixed.

Tests passed after rerunning CI.