Repository navigation
Commit 768b690
committed
wasm: cover all standard BLAS L1–L3 ops with readable CBLAS checks
Add scalar-oracle checks for the full Level 1/2/3 surface (dense, banded,
and packed), including S/D/C/Z where applicable. Keep the deep AXPY/GEMV/
GEMM grids and exercise the remaining families on a compact size set.
Merge the former check_*_full sources into per-level check_l*.c files with
one test function per CBLAS interface and shared expect_close_* helpers.
House oracles in ref_l1.c / ref_l2.c / ref_l3.c (typed deep-grid AXPY/GEMV,
polymorphic L1/L2 helpers, and UPLO-aware L3 including SYMM/HEMM/HERK/
SYR2K/HER2K); triangular fixtures live in common.h.
Document L1/L2/L3 and IEEE vs relaxed tolerance choices in tol.h. Discover
emcc via PATH, OPENBLAS_EM_PREFIX, or \$ROOT/.em-prefix only.
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>1 parent d309a89 commit 768b690
13 files changed
Lines changed: 6706 additions & 775 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| |||
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
26 | | - | |
| 29 | + | |
27 | 30 | | |
28 | | - | |
29 | | - | |
30 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
31 | 49 | | |
32 | 50 | | |
33 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
| |||
0 commit comments