Demo: Boosting AI on Semidynamics RISC-V Cores with Custom Tensor Instructions
Talkat RISC-V Summit North America 2023 · on Wednesday, 2023-11-08· at 15:30· Expo Hall - Exhibit Hall A - Demo Theater·
summary
Extends the RISC‑V Vector ISA with three custom ops: BLRS vector load with row stride, matrix‑multiply (with or without accumulation) and BSTS vector store with row stride; multiplies 16‑bit inputs (BF16) into FP32 accumulators using a tile‑based approach that keeps tiles in existing vector registers. Inner GEMM loop compiles to about eight assembly instructions. Demo reports up to near‑peak throughput on YOLOv3‑tiny layers, peak claimed as 256 MACs/cycle ⇒ 0.5 TOPS at 1 GHz, and shows reduced efficiency on small or non‑aligned tiles due to tail iterations.
AI-written summary · about
chapters (5)
- 0:00Introduction to tensor units
- 1:03Custom tensor instructions
- 3:00Implementing matrix math
- 7:25Performance results
- 8:36Q&A session
related talks
11mBoosting AI on Semidynamics RISC-V Cores with Custom Tensor Instructions
10mBoosting AI on Semidynamics RISC-V Cores with Custom Tensor Instructions
24mMoving to RISC-V Vector: A Practical Journey of AI Operator Optimization
13mUnleashing ML Processing Power Through RISC-V Vectors: Applications, Implementation and...
11mDemo: Running Transformers on Semidynamic's "All-In-One" Vector and Tensor Unit
18mLessons Learned in Using RISC-V for Generative AI and Where We Can Go from Here
34mRISC V Vector Extension Proposal
14mLow-Cost SIMD Module for ML Acceleration
