|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | + <meta charset="UTF-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 6 | + <title>OpenSolvers — U74 progress (slides)</title> |
| 7 | + <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> |
| 8 | + <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap" rel="stylesheet"> |
| 9 | + <style> |
| 10 | + :root { |
| 11 | + --blue: #155799; |
| 12 | + --green: #159957; |
| 13 | + --teal: #157878; |
| 14 | + --link: #1e6bb8; |
| 15 | + --text: #606c71; |
| 16 | + --white: #fff; |
| 17 | + } |
| 18 | + * { box-sizing: border-box; margin: 0; padding: 0; } |
| 19 | + html, body { height: 100%; overflow: hidden; font-family: "Open Sans", sans-serif; background: #111; } |
| 20 | + .deck { height: 100%; position: relative; } |
| 21 | + .slide { |
| 22 | + position: absolute; inset: 0; |
| 23 | + display: flex; flex-direction: column; align-items: center; justify-content: center; |
| 24 | + padding: 3rem 4rem; |
| 25 | + opacity: 0; pointer-events: none; |
| 26 | + transition: opacity 0.45s ease; |
| 27 | + background: var(--white); |
| 28 | + } |
| 29 | + .slide.active { opacity: 1; pointer-events: auto; z-index: 1; } |
| 30 | + .slide--hero { |
| 31 | + background: linear-gradient(120deg, var(--blue), var(--green)); |
| 32 | + color: var(--white); text-align: center; |
| 33 | + } |
| 34 | + .slide--hero h1 { font-size: 3.2rem; font-weight: 700; margin-bottom: 0.5rem; } |
| 35 | + .slide--hero p { font-size: 1.35rem; opacity: 0.85; max-width: 42rem; line-height: 1.5; } |
| 36 | + .slide h2 { color: var(--green); font-size: 2rem; font-weight: 600; margin-bottom: 1.5rem; text-align: center; } |
| 37 | + .slide p, .slide li { color: var(--text); font-size: 1.15rem; line-height: 1.55; } |
| 38 | + .row { display: flex; gap: 2.5rem; align-items: center; max-width: 1100px; width: 100%; } |
| 39 | + .row--center { justify-content: center; flex-wrap: wrap; } |
| 40 | + .board-img { |
| 41 | + width: 280px; border-radius: 0.5rem; |
| 42 | + box-shadow: 0 8px 32px rgba(21, 87, 153, 0.2); |
| 43 | + } |
| 44 | + .diagram { max-width: 560px; width: 100%; } |
| 45 | + .diagram img { width: 100%; height: auto; } |
| 46 | + .scalar-glow { |
| 47 | + outline: 3px solid var(--blue); |
| 48 | + outline-offset: 6px; |
| 49 | + border-radius: 12px; |
| 50 | + animation: pulse 2s ease-in-out infinite; |
| 51 | + } |
| 52 | + @keyframes pulse { |
| 53 | + 0%, 100% { outline-color: var(--blue); box-shadow: 0 0 0 0 rgba(21, 87, 153, 0.4); } |
| 54 | + 50% { outline-color: var(--link); box-shadow: 0 0 24px 4px rgba(30, 107, 184, 0.35); } |
| 55 | + } |
| 56 | + table { |
| 57 | + border-collapse: collapse; font-size: 1.1rem; margin: 0 auto; |
| 58 | + box-shadow: 0 4px 20px rgba(0,0,0,0.08); border-radius: 0.5rem; overflow: hidden; |
| 59 | + } |
| 60 | + th, td { padding: 0.75rem 1.25rem; border: 1px solid #e9ebec; text-align: left; } |
| 61 | + th { background: #f3f6fa; color: var(--green); font-weight: 600; } |
| 62 | + .badge { |
| 63 | + display: inline-block; padding: 0.35rem 0.9rem; border-radius: 0.35rem; |
| 64 | + font-weight: 700; font-size: 1.5rem; margin-top: 1rem; |
| 65 | + background: linear-gradient(120deg, var(--blue), var(--green)); |
| 66 | + color: var(--white); |
| 67 | + } |
| 68 | + .stack { |
| 69 | + display: flex; flex-direction: column; align-items: center; gap: 0.5rem; |
| 70 | + font-size: 1.05rem; font-weight: 600; |
| 71 | + } |
| 72 | + .stack-box { |
| 73 | + padding: 0.6rem 1.5rem; border: 2px solid var(--blue); border-radius: 0.4rem; |
| 74 | + min-width: 220px; text-align: center; color: var(--blue); |
| 75 | + } |
| 76 | + .stack-arrow { color: var(--text); font-size: 1.2rem; } |
| 77 | + .stack-box--highlight { background: rgba(21, 121, 87, 0.12); border-color: var(--green); color: var(--green); } |
| 78 | + .end-links { text-align: center; margin-top: 1.5rem; } |
| 79 | + .end-links a { color: var(--link); text-decoration: none; font-size: 1.05rem; display: block; margin: 0.35rem 0; } |
| 80 | + .end-links a:hover { text-decoration: underline; } |
| 81 | + .hint { |
| 82 | + position: fixed; bottom: 1rem; right: 1.25rem; |
| 83 | + font-size: 0.8rem; color: rgba(255,255,255,0.5); |
| 84 | + z-index: 10; pointer-events: none; |
| 85 | + } |
| 86 | + .slide:not(.slide--hero) .hint { color: #999; } |
| 87 | + .counter { |
| 88 | + position: fixed; bottom: 1rem; left: 1.25rem; |
| 89 | + font-size: 0.85rem; color: #999; z-index: 10; |
| 90 | + } |
| 91 | + .before { color: #819198; } |
| 92 | + .after { color: var(--green); font-weight: 700; } |
| 93 | + ul { margin: 1rem 0 0 1.5rem; } |
| 94 | + ul li { margin: 0.4rem 0; } |
| 95 | + </style> |
| 96 | +</head> |
| 97 | +<body> |
| 98 | + <div class="deck" id="deck"> |
| 99 | + |
| 100 | + <!-- Slide 1: Title --> |
| 101 | + <section class="slide slide--hero active" data-duration="6"> |
| 102 | + <h1>OpenSolvers</h1> |
| 103 | + <p>U74 progress on the VisionFive 2 — scalar BLAS tuning through EESSI</p> |
| 104 | + <p style="margin-top:1.5rem;font-size:1rem;opacity:0.7">RISC-V learnings and fun</p> |
| 105 | + </section> |
| 106 | + |
| 107 | + <!-- Slide 2: Board + Scalar --> |
| 108 | + <section class="slide" data-duration="8"> |
| 109 | + <h2>VisionFive 2 — Scalar path (RV64GC)</h2> |
| 110 | + <div class="row row--center"> |
| 111 | + <img class="board-img" src="../../boards/vf2.jpg" alt="StarFive VisionFive 2 board"> |
| 112 | + <div> |
| 113 | + <ul> |
| 114 | + <li><strong>JH7110</strong> — 4× SiFive U74 @ 1.5 GHz</li> |
| 115 | + <li><strong>rv64gc</strong> — scalar, no RVV</li> |
| 116 | + <li>Optimisation target: tuned <strong>BLAS</strong>, not vector extensions</li> |
| 117 | + </ul> |
| 118 | + <div class="diagram scalar-glow" style="margin-top:1.25rem"> |
| 119 | + <img src="../../assets/images/compute-backends.svg" alt="Compute paths — Scalar highlighted"> |
| 120 | + </div> |
| 121 | + </div> |
| 122 | + </div> |
| 123 | + </section> |
| 124 | + |
| 125 | + <!-- Slide 3: Before --> |
| 126 | + <section class="slide" data-duration="14"> |
| 127 | + <h2>Before — stock OpenBLAS</h2> |
| 128 | + <p style="text-align:center;margin-bottom:1.25rem;max-width:36rem"> |
| 129 | + Generic <code>RISCV64_GENERIC</code> C GEMM kernel — correct, but slow |
| 130 | + </p> |
| 131 | + <table> |
| 132 | + <thead><tr><th></th><th>HPL (4 cores, N=10000)</th></tr></thead> |
| 133 | + <tbody> |
| 134 | + <tr><td><strong>Before</strong></td><td class="before"><strong>3.13 GFLOP/s</strong> · 213 s</td></tr> |
| 135 | + <tr><td><strong>After</strong></td><td class="after">—</td></tr> |
| 136 | + </tbody> |
| 137 | + </table> |
| 138 | + </section> |
| 139 | + |
| 140 | + <!-- Slide 4: Fix stack --> |
| 141 | + <section class="slide" data-duration="10"> |
| 142 | + <h2>The fix — one backend swap</h2> |
| 143 | + <div class="row row--center"> |
| 144 | + <div class="stack"> |
| 145 | + <div class="stack-box">EESSI · HPL 2.3</div> |
| 146 | + <div class="stack-arrow">↓</div> |
| 147 | + <div class="stack-box">FlexiBLAS (runtime swap)</div> |
| 148 | + <div class="stack-arrow">↓</div> |
| 149 | + <div class="stack-box stack-box--highlight">OpenBLAS TARGET=U74<br><span style="font-weight:400;font-size:0.9rem">4×4 DGEMM micro-kernel</span></div> |
| 150 | + </div> |
| 151 | + <div style="max-width:22rem"> |
| 152 | + <ul> |
| 153 | + <li>Same <strong>xhpl</strong> binary</li> |
| 154 | + <li>No HPL rebuild</li> |
| 155 | + <li>easyconfigs#26436 · OpenBLAS#5903</li> |
| 156 | + </ul> |
| 157 | + </div> |
| 158 | + </div> |
| 159 | + </section> |
| 160 | + |
| 161 | + <!-- Slide 5: After + numbers --> |
| 162 | + <section class="slide" data-duration="13"> |
| 163 | + <h2>After — U74-tuned OpenBLAS</h2> |
| 164 | + <table style="margin-bottom:1rem"> |
| 165 | + <thead><tr><th>Metric</th><th>Before</th><th>After</th></tr></thead> |
| 166 | + <tbody> |
| 167 | + <tr><td>HPL (4 cores)</td><td class="before">3.13 GFLOP/s</td><td class="after">5.28 GFLOP/s</td></tr> |
| 168 | + <tr><td>Wall time</td><td class="before">213 s</td><td class="after">126 s</td></tr> |
| 169 | + <tr><td>DGEMM (1 core)</td><td class="before">~1.4 GFLOP/s</td><td class="after">1.77 GFLOP/s</td></tr> |
| 170 | + <tr><td>DGEMM (4 cores)</td><td class="before">—</td><td class="after">6.31 GFLOP/s</td></tr> |
| 171 | + </tbody> |
| 172 | + </table> |
| 173 | + <div style="text-align:center"><span class="badge">1.69× faster HPL</span></div> |
| 174 | + <p style="text-align:center;margin-top:1rem;font-size:0.95rem;max-width:40rem"> |
| 175 | + U74: silicon-tuned <strong>scalar</strong>. X60 boards: RVV + IME — same “one backend” methodology. |
| 176 | + </p> |
| 177 | + </section> |
| 178 | + |
| 179 | + <!-- Slide 6: End card --> |
| 180 | + <section class="slide slide--hero" data-duration="10"> |
| 181 | + <h1>opensolvers.com</h1> |
| 182 | + <p>Full walkthroughs, benchmarks, and board notes</p> |
| 183 | + <div class="end-links"> |
| 184 | + <a href="https://www.opensolvers.com/boards/VisionFive2.html">VisionFive 2 · HPL 3.13 → 5.28 GFLOP/s</a> |
| 185 | + <a href="https://github.com/EESSI/docs/pull/818">EESSI/docs#818 — U74 via EESSI</a> |
| 186 | + <a href="https://github.com/easybuilders/easybuild-easyconfigs/pull/26436">easyconfigs#26436 — U74 OpenBLAS</a> |
| 187 | + </div> |
| 188 | + </section> |
| 189 | + |
| 190 | + </div> |
| 191 | + |
| 192 | + <div class="counter" id="counter">1 / 6</div> |
| 193 | + <div class="hint">← → or Space · <kbd>F</kbd> fullscreen · <kbd>?</kbd>autoplay</div> |
| 194 | + |
| 195 | + <script> |
| 196 | + const slides = [...document.querySelectorAll(".slide")]; |
| 197 | + const counter = document.getElementById("counter"); |
| 198 | + let idx = 0; |
| 199 | + let autoplayTimer = null; |
| 200 | + |
| 201 | + function show(i) { |
| 202 | + idx = (i + slides.length) % slides.length; |
| 203 | + slides.forEach((s, n) => s.classList.toggle("active", n === idx)); |
| 204 | + counter.textContent = `${idx + 1} / ${slides.length}`; |
| 205 | + } |
| 206 | + |
| 207 | + function next() { show(idx + 1); } |
| 208 | + function prev() { show(idx - 1); } |
| 209 | + |
| 210 | + function startAutoplay() { |
| 211 | + stopAutoplay(); |
| 212 | + const run = () => { |
| 213 | + const dur = (parseInt(slides[idx].dataset.duration, 10) || 8) * 1000; |
| 214 | + autoplayTimer = setTimeout(() => { next(); run(); }, dur); |
| 215 | + }; |
| 216 | + run(); |
| 217 | + } |
| 218 | + function stopAutoplay() { |
| 219 | + if (autoplayTimer) clearTimeout(autoplayTimer); |
| 220 | + autoplayTimer = null; |
| 221 | + } |
| 222 | + |
| 223 | + document.addEventListener("keydown", (e) => { |
| 224 | + if (e.key === "ArrowRight" || e.key === " ") { e.preventDefault(); stopAutoplay(); next(); } |
| 225 | + if (e.key === "ArrowLeft") { e.preventDefault(); stopAutoplay(); prev(); } |
| 226 | + if (e.key === "f" || e.key === "F") { |
| 227 | + if (!document.fullscreenElement) document.documentElement.requestFullscreen(); |
| 228 | + else document.exitFullscreen(); |
| 229 | + } |
| 230 | + }); |
| 231 | + |
| 232 | + if (location.search.includes("autoplay=1")) startAutoplay(); |
| 233 | + show(0); |
| 234 | + </script> |
| 235 | +</body> |
| 236 | +</html> |
0 commit comments