Commit 0f2fe66
committed
Replace bf16 with fp16 in rnn_relu benchmark on pre-Ampere GPUs
- On GPUs with compute capability less than 8.0 (e.g., Iluvatar
BI-V150 at CC 7.1), replace bfloat16 with float16 instead of
skipping it — the benchmark still runs 3 dtype entries with
meaningful numbers rather than dropping to 2 entries
- Pre-Ampere GPUs lack native bf16 hardware support; the Triton
bf16 backend falls back to software conversion that makes the
RNN hidden-state recurrence ~20x slower — not a meaningful metric
Co-Authored-By: yzw1128 <yzw1128@users.noreply.github.com>1 parent e81c9b6 commit 0f2fe66
1 file changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
56 | 71 | | |
57 | 72 | | |
58 | 73 | | |
59 | 74 | | |
60 | | - | |
| 75 | + | |
61 | 76 | | |
62 | 77 | | |
0 commit comments