OpenBLAS/.github/workflows
Mark Ryan 3b715e6162 Add autodetection for riscv64
Implement DYNAMIC_ARCH support for riscv64.  Three cpu types are
supported, riscv64_generic, riscv64_zvl256b, riscv64_zvl128b.
The two non-generic kernels require CPU support for RVV 1.0 to
function correctly.  Detecting that a riscv64 device supports
RVV 1.0 is a little complicated as there are some boards on the
market that advertise support for V via hwcap but only support
RVV 0.7.1, which is not binary compatible with RVV 1.0.  The
approach taken is to first try hwprobe.  If hwprobe is not
available, we fall back to hwcap + an additional check to distinguish
between RVV 1.0 and RVV 0.7.1.

Tested on a VM with VLEN=256, a CanMV K230 with VLEN=128 (with only
the big core enabled), a Lichee Pi with RVV 0.7.1 and a VF2 with no
vector.

A compiler with RVV 1.0 support must be used to build OpenBLAS for
riscv64 when DYNAMIC_ARCH=1.

Signed-off-by: Mark Ryan <markdryan@rivosinc.com>
2024-07-15 14:24:22 +00:00
..
apple_m.yml CI: Add various Apple M1 build configurations to gh workflow 2024-02-22 22:38:05 +01:00
arm64_graviton.yml Trigger AWS Graviton 3 CI job only for develop and release branches 2023-11-10 16:34:47 +01:00
c910v.yml CI: add openblas_utest_ext for c910v, mips64 and loongarch64 2024-04-12 11:33:16 +08:00
codspeed-bench.yml WIP: fish out the gesdd failure? 2024-07-02 20:10:26 +03:00
docs.yml ci: fix CI job to deploy docs, and make it run on pull requests too 2024-07-03 20:14:02 +02:00
dynamic_arch.yml run apt-get update before fetching Ubuntu packages 2024-02-26 14:19:50 +01:00
loongarch64.yml LoongArch64: Update QEMU 2024-06-13 11:24:32 +08:00
loongarch64_clang.yml LoongArch64: Update the address for obtaining the Clang cross-toolchain 2024-06-13 11:25:01 +08:00
mips64.yml CI: add openblas_utest_ext for c910v, mips64 and loongarch64 2024-04-12 11:33:16 +08:00
nightly-Homebrew-build.yml Cancel running CI jobs when new changes are pushed to a PR 2023-11-10 16:34:47 +01:00
riscv64_vector.yml Add autodetection for riscv64 2024-07-15 14:24:22 +00:00