~/talk

Moving to RISC-V Vector: A Practical Journey of AI Operator Optimization

Talkat RISC-V Summit North America 2025 · 2025-10-22..10-23· [machine-learning]
links:none on file
slides:none on file

Implemented MatMul, GELU and LayerNorm with SVE and RVV intrinsics on a SpacemiT K1 256‑wide RVV board and measured with perf and disassembly. Findings: vector length helps but scaling is sublinear (MatMul hits ~48% double‑precision and ~38% single‑precision of theoretical), vector‑length multiplier effects depend on matrix size, and OpenBLAS RVV lacks prefetch use. Nonlinear kernels (exp, tanh, sqrt, GELU) see RVM2 gives 2–4x speedups vs scalar; recommendation: tune ML per problem and enable RVV prefetch extensions.

AI-written summary · about

  1. 0:00Introduction to RISC-V Vector
  2. 1:24Hardware and Software Setup
  3. 3:59Vector Length Concepts
  4. 7:17AI Operators Overview
  5. 8:23OpenBLAS Vector Optimization
  6. 12:07GEMM Performance Results
  7. 14:15Length Multiplier Impact
  8. 17:09Nonlinear Operators in SLEEF
  9. 20:03SLEEF Performance Comparison
  10. 23:15Future Optimization Directions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.