Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-blas/patches/8c7249b25492a050 # omega-blas aien-dev/omega-blas Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers ## GitHub aien-dev/omega-blas#2 (code only) closed derived `8c7249b25492a050` #2 Imported from GitHub aien-dev/omega-blas#2 (code only) GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed). Base `7791a3ca2e7492a8bbdd17d1c154861422792b4b` · Head `8aa688c7a29aae8f2687bfebdddabc6978a78264` drakestapleton reviewed (COMMENTED) on 2026-10-30 13:12 UTC Triage at `a45d159`: blocked. - Dependency. This depends on aien-dev/CUDApp#139, which is still an open draft, mergeable `dirty`, now at head `fc591d6`. This PR pins `b28372d1`, so the pin no longer matches #139's head. Rebase or re-pin once #139 lands. - State. Not a draft, base `main`, mergeable `clean`. CI is CodeQL only (python, c-cpp, both green). No hosted job runs the BLAS tests. - Hardware. The GB10 receipts (`receipts/netlib-gb10-20261027.md`) are author-reported and EXERCISED, not QUALIFIED. They were not re-run here, and nothing ran on the Spark for this review. Large shapes are NOT_RUN. The measured 27–52x slowdown at small sizes is the only timing result. Please make no speed claim beyond it. — Grokbot ### Fetch it A git bundle of the pull request's head, 49642 bytes. ``` curl -fsSL https://interplane.io/drakestapleton/omega-blas/patches/8c7249b25492a050.bundle -o 8c7249b25492a050.bundle git fetch 8c7249b25492a050.bundle refs/pull/2/head ``` Raw bundle · Diff ### Provenance This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record: ``` github-import 1 aien-dev/omega-blas 2 8aa688c7a29aae8f2687bfebdddabc6978a78264 ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"omega-blas","number":2,"url":"https://github.com/aien-dev/omega-blas/pull/2","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:41:00Z","metadata":"unavailable","state_derived":true} ``` ### Changes ``` diff --git a/.gitignore b/.gitignore index 255c255..4a0e216 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ build/ +build-gb10/ __pycache__/ *.pyc diff --git a/Makefile b/Makefile index a9e1de9..a6ecc99 100644 --- a/Makefile +++ b/Makefile @@ -1,25 +1,46 @@ # omega-blas build. The compute unit om/blas.om is compiled by the pinned OM-2 omc and bound by # omega-bridge tools/native (ABI v2); libomegablas.so links that binding with the interim C layer. # make BRIDGE= OMC= OMC2= -# Pins: see PINS (parent omega-mv sha, omc sha256s, omega-bridge sha). +# make ... GB10=1 CUDAPP= the GB10 device path (README.md), into build-gb10/: +# links CUDApp's libomega_gpu.a, built position-independent into $(CUDAPP)/build/omegablas-pic +# Pins: see PINS (parent omega-mv sha, omc sha256s, omega-bridge sha, CUDApp sha). BRIDGE ?= ../omega-bridge OMC ?= $(error set OMC to the seeded omc (sha256 in PINS)) OMC2 ?= $(error set OMC2 to the OM-2 omc (sha256 in PINS)) CC ?= cc CFLAGS ?= -O2 +GB10 ?= 0 +N := build/native +ifeq ($(GB10),1) +CUDAPP ?= $(error set CUDAPP to a CUDApp checkout (sha in PINS)) +B := build-gb10 +GPU_LIB := $(CUDAPP)/build/omegablas-pic/libomega_gpu.a +GPU_CFLAGS := -DOMB_GB10 -I$(CUDAPP)/src \ + -DOMB_CUDAPP_REV='"$(shell git -C $(CUDAPP) rev-parse HEAD)$(shell git -C $(CUDAPP) diff --quiet HEAD || echo -dirty)"' +GPU_LIBS := $(GPU_LIB) -lm +else B := build -N := $(B)/native +endif all: $(B)/libomegablas.so $(N)/omega_native.c: om/blas.om OMEGA_NATIVE_OMC=$(OMC) OMEGA_NATIVE_OMC2=$(OMC2) $(BRIDGE)/tools/native $(N) om/blas.om -$(B)/libomegablas.so: $(N)/omega_native.c src/omegablas.c include/omegablas.h +$(B)/libomegablas.so: $(N)/omega_native.c src/omegablas.c include/omegablas.h $(GPU_LIB) + mkdir -p $(B) $(CC) -std=gnu11 $(CFLAGS) -Wall -Wextra -Werror -fPIC -shared -Wl,-soname,libomegablas.so \ - -Iinclude -I$(N) -include $(N)/omega_native.h -o $@ src/omegablas.c $(N)/omega_native.c -lpthread + -Iinclude -I$(N) -include $(N)/omega_native.h $(GPU_CFLAGS) -o $@ src/omegablas.c \ + $(N)/omega_native.c $(GPU_LIBS) -lpthread + +ifeq ($(GB10),1) +# CUDApp's own build with -fPIC added to the compiler; its CFLAGS, including the gemm_ex +# migration-pending switch of mk/gemm-ex.mk, stay as CUDApp sets them. +$(GPU_LIB): FORCE + $(MAKE) -C $(CUDAPP) OUT_DIR=build/omegablas-pic CC="$(CC) -fPIC" build/omegablas-pic/libomega_gpu.a +endif clean: - rm -rf $(B) + rm -rf build build-gb10 -.PHONY: all clean +.PHONY: all clean FORCE diff --git a/PINS b/PINS index 4fcefae..db3db71 100644 --- a/PINS +++ b/PINS @@ -3,3 +3,5 @@ omc (OM-1) sha256 734f0a39319fbfa930bcc62cb30dbf06d47d78e126372b74f5baf478e612 omc2 (OM-2) sha256 2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f (omega-mv e5b32567:seed/out/omc) omega-bridge aien-dev/omega-bridge 2b59387101db52b7f859b6a3f6593fdd6b4e4a7e (feat/slice-abi, PR #15, native ABI v2 slices) lapack netlib LAPACK v3.12.1 (BLAS/CBLAS test drivers only), tarball sha256 2ca6407a...2422 (see tests/netlib/fetch.sh) +cudapp aien-dev/CUDApp 7a2c384fa41566d9444d0da3186456ad049075fa (CUDApp main, merge of PR #214; tree equals #214 head f95dca37 and #139 head 117d8d71: omega_gpu_gemm_ex, GB10=1 builds only) +toolchain cc and GNU Fortran 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04.1) for the netlib drivers and the GB10 receipt diff --git a/README.md b/README.md index dd9774a..45bfbe2 100644 --- a/README.md +++ b/README.md @@ -11,12 +11,16 @@ BLAS in Omega: the open replacement track for layer #6 of the NVIDIA stack (cuBL | Path | Role | Status | |---|---|---| | `om/blas.om` | the compute unit: f16/bf16/e4m3/e5m2 widening and RNE narrowing, panel packing, the 2x2 f32 gemm macro-kernel, the fused epilogue (alpha, beta, bias by row or column, relu, gelu-tanh), gemv, strided copy, reference argument checks | Omega (OM-2) | -| `src/omegablas.c`, `include/omegablas.h` | **interim** C layer: CBLAS and Fortran 77 entry points, xerbla routing, workspace, cache blocking, batch loops | C, retired by the extensions in [docs/EXTENSIONS.md](docs/EXTENSIONS.md) | +| `src/omegablas.c`, `include/omegablas.h` | **interim** C layer: CBLAS and Fortran 77 entry points, xerbla routing, workspace, cache blocking, batch loops, and (built only with `GB10=1`) the GB10 device dispatch | C, retired by the extensions in [docs/EXTENSIONS.md](docs/EXTENSIONS.md) | | `python/omegablas` | DLPack binding (numpy, torch, any `__dlpack__` producer) | Python over ctypes | -| `tests/` | netlib BLAS/CBLAS test drivers, fuzz vs numpy, mutant control, A/B bench | | +| `tests/smoke.py`, `tests/convert.py` | numpy checks of cblas_sgemm and cblas_sgemv; exhaustive format-conversion check against ml_dtypes | Python | +| `tests/netlib/` | `run.sh`: the unmodified netlib BLAS/CBLAS SGEMV/SGEMM test drivers (sblat2, sblat3, c_sblat2, c_sblat3) against a build, on the host or the GB10 path; `fetch.sh`: the pinned LAPACK source | shell | +| `tests/gb10/` | `batched.c` + `run.sh`: strided, pointer-array and single products, route predictions and untouched padding, on either device; `hooks.c`: test-only HMMA-model backend and CUDApp mutants | C test drivers (migration-pending, docs/EXTENSIONS.md) | +| `receipts/` | dated run receipts with their logs | | -Every floating-point operation runs in Omega. The C layer moves no numbers except the bias copy -into the workspace and the batch pointer arithmetic. +On the host path every floating-point operation runs in Omega; the C layer moves no numbers except +the bias copy into the workspace and the batch pointer arithmetic. On the GB10 path the f32 +products run in CUDApp (see below), not in Omega. ## Routines @@ -39,6 +43,36 @@ python3 tests/smoke.py Limits: each dimension below 1,000,000 (the seeded compiler's loop bound); calls are serialised by one lock (the bound Omega runtime has one stack). +## GB10 device path + +Status: EXERCISED on the GB10 chip (netlib SGEMV/SGEMM, 2026-10-27, +[receipts/netlib-gb10-20261027.md](receipts/netlib-gb10-20261027.md); rerun 2026-10-31 against +CUDApp#214, [receipts/netlib-gb10-20261031.md](receipts/netlib-gb10-20261031.md)). Not QUALIFIED. +It depends on CUDApp `omega_gpu_gemm_ex` (aien-dev/CUDApp#214, merged; EXPERIMENTAL, +pinned in [PINS](PINS) at the CUDApp main merge commit). + +```sh +make GB10=1 CUDAPP=/path/to/CUDApp BRIDGE=... OMC=... OMC2=... # builds into build-gb10/ +OMEGABLAS_DEVICE=gb10 ./your_program # unset or host: the Omega host path +``` + +- Scope: f32 A, B and C with no bias and no activation, through `sgemm_`, `cblas_sgemm`, `sgemv_`, + `cblas_sgemv`, `omb_gemm_ex`, `omb_gemm_batched` and `omb_gemm_strided_batched`. A strided batch + with disjoint C is one `omega_gpu_gemm_ex` call. Every other call stays on the host path and is + counted as such. `omb_set_device` / `omb_get_device` switch at run time. +- Numerics: CUDApp's bf16x3 route on the tensor cores, not bit-exact fp32. The derived netlib + ratio bound is 11.2 for the decks' k <= 9 ([docs/TOLERANCE.md](docs/TOLERANCE.md)). +- No silent fallback: a device error aborts the process with the gemm_ex code. So does + `OMEGABLAS_DEVICE=gb10` on a library built without `GB10=1`, and any value other than `host` or + `gb10`. +- `omb_get_route_counts` and `OMEGABLAS_ROUTE_REPORT=1` (one stderr line at unload) report host + products, gemm_ex calls, tensor-core calls, and outputs CUDApp recomputed on the host, plus the + CUDApp revision linked in. +- Tests: `OMB_BUILD=build-gb10 OMEGABLAS_DEVICE=gb10 LAPACK=... sh tests/netlib/run.sh` and + `OMEGABLAS_DEVICE=gb10 sh tests/gb10/run.sh`. With `GB10_HOOKS=/path/to/CUDApp + OMB_TEST_BACKEND=model`, both run the device glue on CUDApp's chip-exact HMMA model without a + GPU. + Licence: Apache-2.0 WITH LLVM-exception. ## Human-Directed Agentic Engineering diff --git a/docs/EXTENSIONS.md b/docs/EXTENSIONS.md new file mode 100644 index 0000000..c922f40 --- /dev/null +++ b/docs/EXTENSIONS.md @@ -0,0 +1,37 @@ +# Retiring the C layer + +`src/omegablas.c` is interim C. All host arithmetic already runs in `om/blas.om`. This file lists +what the C layer still does, why that work is not yet in Omega, and the extension that moves each +piece. Every limit below is a limit of the pinned compiler (PINS), checked as stated. None of them is +a property of the language. + +## Limits checked at the pin + +With OM-2 omc sha256 `2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f`, 2026-10-27: + +| Probe | Result | +|---|---| +| `fn f` with 6 int parameters | rc 0 | +| `fn f` with 7 int parameters | rc 9 (`omc: line 1: error 9`) | +| `global q int 4` in a unit without `fn main` (function mode, the mode omega-bridge binds) | rc 9 | + +## What the C layer does, and the successor for each + +| C layer duty | Blocker at the pin | Successor | +|---|---|---| +| CBLAS and F77 entry points (`sgemm_` takes 13 by-reference arguments, `cblas_sgemm` takes 14) | 6-parameter limit; omega-bridge exports its own ABI v2 slice signatures, not arbitrary C signatures | omega-bridge export of a declared foreign signature, generated as checked C from the `.om` declaration | +| `xerbla_` routing (a user can override `xerbla_`) | an Omega unit cannot call a foreign symbol | bridge-generated callback trampoline | +| workspace, the single call lock, the device choice and the route counters | no `global` in function mode | function-mode globals, or an explicit context argument carried by the bridge | +| **GB10 device path**: the device choice, the column-major to row-major mapping, batched and strided calls into CUDApp `omega_gpu_gemm_ex` | an Omega unit cannot call C, and `omega_gpu_gemm_ex` is itself migration-pending C | a unit-to-unit Omega call into `src/omega_gpu_gemm_ex.om`, CUDApp's named successor (CUDApp `mk/gemm-ex.mk`) | + +## The GB10 device path is migration-pending C + +The device code in `src/omegablas.c` sits inside `#ifdef OMB_GB10`. The build switch is `GB10` +(Makefile), and its default is 0. The default build compiles none of this code and does not link +CUDApp. When `OMEGABLAS_DEVICE=gb10` is set on that build, the library aborts and says it was built +without the path. The device code adds no arithmetic: every number on this path is computed by +CUDApp. It is retired by the last row of the table above. When CUDApp's gemm_ex `.om` unit exists, +the dispatch, which is pure index arithmetic plus one call, moves into `om/blas.om`. + +The test-only hook (`tests/gb10/hooks.c`) is C for the same reason. CUDApp's backend hook is a C +function pointer. The hook is linked only into the test drivers, never into the library. diff --git a/docs/TOLERANCE.md b/docs/TOLERANCE.md new file mode 100644 index 0000000..9d58074 --- /dev/null +++ b/docs/TOLERANCE.md @@ -0,0 +1,104 @@ +# Tolerance + +What the tests enforce, and the bound each enforced number rests on. All arithmetic was done with +the Wolfram Language evaluator. Each query is quoted as `query -> result`. + +## The netlib test ratio + +The netlib drivers (`tests/netlib/run.sh`: sblat2, sblat3, c_sblat2, c_sblat3, LAPACK 3.12.1) +recompute every result as a fp32 reference `CT` (SMMCH / SMVCH: sequential fp32 sum over k, then +`ALPHA*CT + BETA*C`). They also form `G = |alpha| sum_k |a_k||b_k| + |beta| |c|` and report +`ratio = |CT - CC| / (EPS * G)` with `EPS = 2^-23`. A result is FATAL when +`ERR * sqrt(EPS) >= 1`, and a routine is SUSPECT when its largest ratio reaches the deck's +`THRESHOLD VALUE` (16.0 in all four decks). The decks use `n, m, k` in {0, 1, 2, 3, 5, 9}, so the +inner length satisfies `k <= 9`. The gate is the stock decks with THRESH 16.0. `run.sh` refuses to +run if a deck's threshold line is not the expected value. `THRESH=` replaces 16.0 only for a +measurement run. That run prints every routine's largest ratio and is not a gate. + +Write `u = 2^-24` (fp32 unit roundoff) and `gamma_n = n u / (1 - n u)`. The fp32 reference has +`|CT - exact| <= gamma_(k+2) G`: k products and k-1 additions in the sum, then the alpha and beta +roundings. + +## Host path + +`om/blas.om` rounds once per operation and uses no FMA. It meets the same `gamma_(k+2) G` bound in +any summation order. The two errors add, so the ratio is at most `2 gamma_(k+2) / EPS`: +`N[2 gam[9+2]/2^-23]` with `gam[n_] := n 2^-24/(1 - n 2^-24)` `-> 11.0000072` for `k = 9`. That is +below 16. + +Measured (THRESH 0.0 measurement run, 2026-10-27, receipt `receipts/netlib-gb10-20261027.md`): +largest ratio SGEMV 1.48 (cblas_sgemv row-major 1.51), SGEMM 0.00. The host k-loop for these shapes +matches the reference's order exactly. + +## GB10 path (fp32 through bf16x3) + +The device path calls CUDApp `omega_gpu_gemm_ex` with compute DEFAULT. For f32 inputs that is the +bf16x3 route, which is not bit-exact. Its mechanism, from CUDApp `src/omega_gpu_gemm_ex.c` at the +pin in [PINS](../PINS): + +1. Every f32 value splits exactly into `hi + mid + lo` bf16 planes by truncation: + `|mid| < 2^-7 |x|` and `|lo| < 2^-14 |x|`. +2. One BF16 tensor-core call computes the nine plane products, smallest first: + (lo,lo) (lo,mid) (mid,lo) (lo,hi) (mid,mid) (hi,lo) (mid,hi) (hi,mid) (hi,hi). Their magnitude + weights relative to `|a||b|` are 2^-28, 2^-21, 2^-21, 2^-14, 2^-14, 2^-14, 2^-7, 2^-7, 1. Each + plane pair is a segment of `s = ceil(k/16)` HMMA steps, and the nine segments sum exactly to + the true product. +3. Every HMMA step follows the chip-exact model of CUDApp `tests/bw_hmma_model.h` + (`{16, 2, RZ, nominal 2}`, evidence OWN30B-T3-HMMA-MODEL). The step adds the accumulator and 16 + exact products. Each term is truncated toward zero to a multiple of `q = 2^(emax-26)`, where + `emax` is the largest nominal exponent. The terms are summed exactly and the sum is converted to + f32 by RZ. +4. The epilogue `alpha*acc + beta*c` is formed in double and stored to f32 with one rounding. + +The bound for one step: the term with exponent `emax` has magnitude at least `2^(emax-1)` and is +exact on the grid. The other 16 terms each lose less than `q`, so they lose at most +`16 q <= 2^-21 T` in total, where `T` is the sum of the step's term magnitudes. The RZ conversion +loses less than `2^-23 T`. The step error is therefore at most `5 eps T` with `eps = 2^-23`. In +segment j, `T` is at most `C_j S`, where `S = sum_k |a_k||b_k|` and `C_j` is the running sum of the +weights. Summing over all steps: + + |CC - exact| <= d + (2^-24 + 2^-53) (|v| + d) + 2^-53 |v|, d = 5 eps s (sum_j C_j) |alpha| S + +where `v = alpha*exact + beta*c` and `|v| <= G`. + +`Total[Accumulate[{2^-28,2^-21,2^-21,2^-14,2^-14,2^-14,2^-7,2^-7,1}]] -> 279168905/268435456` +(1.03999), and `N[5*279168905/268435456] -> 5.19993`, so the device term contributes `5.19993 s` +ratio units. + +Netlib ratio bound, device result against the fp32 reference, including the second-order terms: + + ratio <= gamma_(k+2)/EPS + 5 s (sum_j C_j) + 1/2 + O(2^-29) + +- `full[9, 1] -> 11.19992999` (k = 9, the deck maximum). Below THRESH 16, so the stock decks are + a sound gate for this path: a correct device result cannot be SUSPECT, and a SUSPECT or FATAL is + a defect. +- `Reduce[full[k, Ceiling[k/16]] < 16 && 1 <= k <= 1808, k] -> k = 1 .. 16`. At these decks' + threshold the argument holds only for `k <= 16`. Above that, the HMMA truncation term grows with + the number of steps (k = 17: 20.40; k = 1024: 846.3). A caller with large k compares against a + k-scaled tolerance such as CUDApp's own predeclared check + (`(S+4) 2^-22 sum|ab|`, `S = 9 ceil(k/16) + parts`), not a fixed 16. +- k = 0 and alpha = 0 never reach the tensor core. The device computes `beta*c` in double, rounded + once. + +Measured on the GB10 (THRESH 0.0 measurement run, 2026-10-27, `receipts/netlib-gb10-20261027.md`): +largest ratio SGEMV 1.61, SGEMM 1.87. Those are 0.144 and 0.167 of the 11.2 bound. The host model +backend (`tests/gb10/hooks.c`, `OMB_TEST_BACKEND=model`) reports the same 1.61 and 1.87. + +Inputs this argument does not cover: underflow (plane products below the f32 normal range, where +the relative step argument does not hold; [INFERENCE] the netlib generators' small rationals stay +far above it), and non-finite inputs. CUDApp recomputes the rows and +columns with non-finite inputs on the host; the route report counts them as `gb10_host_fixed`. + +## tests/gb10/batched.c limits + +`batched.c` compares against a double reference. The reference is exact to far below `2^-23 G`, so +the reference's own `gamma` term drops out and each route gets a tighter limit. Every case has +`K <= 16`, so `s = 1`: + +- device route: `5 c + (2^-24 + 2^-53)(1/EPS + 5 c) + 2^-53/EPS` with `c` = 279168905/268435456 + `-> 5.69992638`; the limit is 5.70. +- host route (bias adds one rounding): `gamma_(16+3)/EPS -> 9.50001076`; the limit is 9.51. + +`tests/smoke.py` keeps its own fixed host checks (relative 1e-5 for sgemm, absolute 1e-4 for +sgemv). Those limits are not derived for the device path. Its k = 513 case lies beyond the +`k <= 16` range above. It has not been run on the device path. diff --git a/include/omegablas.h b/include/omegablas.h index 7bdbf5f..b26e648 100644 --- a/include/omegablas.h +++ b/include/omegablas.h @@ -92,6 +92,22 @@ void omb_narrow(omb_type dst, const float *s, void *d, size_t n); /* The identity string of the bound Omega unit (source and compiler sha256). */ const char *omb_ident(void); +/* Device selection (README.md, "GB10 device path"). OMB_DEVICE_HOST runs every call in the Omega unit on the CPU. + * OMB_DEVICE_GB10 sends the f32 products without an epilogue (sgemm_, cblas_sgemm, sgemv_, + * cblas_sgemv, omb_gemm_ex / batched / strided with A, B and C f32, no bias, act none) to + * CUDApp omega_gpu_gemm_ex (bf16x3 on the GB10 tensor cores, not bit-exact fp32: docs/TOLERANCE.md); + * every other call stays on the host and is counted as such. A device error aborts the process + * (no silent host fallback). The initial device comes from the environment variable + * OMEGABLAS_DEVICE=host|gb10 (unset: host), read once at the first call. */ +typedef enum { OMB_DEVICE_HOST = 0, OMB_DEVICE_GB10 = 1 } omb_device; +/* Returns 0, or -1 (device unchanged) when the library was built without the GB10 path. */ +int omb_set_device(omb_device d); +omb_device omb_get_device(void); +/* Route counters since load: products computed on the host, omega_gpu_gemm_ex calls, the C3 + * kernel calls they made, and outputs gemm_ex recomputed on the host for non-finite inputs. */ +typedef struct { uint64_t host, gb10, gb10_core_calls, gb10_host_fixed; } omb_route_counts; +void omb_get_route_counts(omb_route_counts *out); + #ifdef __cplusplus } #endif diff --git a/receipts/netlib-gb10-20261027.md b/receipts/netlib-gb10-20261027.md new file mode 100644 index 0000000..6dbfccb --- /dev/null +++ b/receipts/netlib-gb10-20261027.md @@ -0,0 +1,142 @@ +# Receipt: netlib SGEMM / SGEMV and the batched entry points on the GB10 device path, 2026-10-27 + +Status: EXERCISED on the chip (GB10, DGX Spark) and on the host. This is not QUALIFIED: omega-blas +has no named GB10 qualification gate yet. + +## Revision and target + +- omega-blas: the commit that adds this receipt. Source: `src/omegablas.c`, `include/omegablas.h`, + `Makefile`, `tests/netlib/run.sh`, `tests/gb10/hooks.c`. The source was unchanged between the runs + and the commit. `build-gb10/libomegablas.so` sha256 + `b672534f8669f09bfc578532142f5d8337cbe32652c39dea7e8b1d3566ca162d`. +- CUDApp `b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5` (aien-dev/CUDApp#139, `gemm-general/gemm-ex`, + draft), clean tree. It was built by `make GB10=1` with `-fPIC` and + `CUDAPP_MIGRATION_PENDING_GEMM_EX=1`. `libomega_gpu.a` sha256 + `725341d11fb8d879f70101fbf1c580aadee6aa113dfe1e46ca0374ad76a3543e`. Every route line in the logs + prints this CUDApp sha. +- OM-2 omc and omega-bridge as in PINS. Toolchain: cc and GNU Fortran 13.3.0 (Ubuntu + 13.3.0-6ubuntu2~24.04.1). LAPACK v3.12.1, tarball sha256 `2ca6407a…2422` (tests/netlib/fetch.sh). +- Platform: kernel 7.0.0-1019-nvidia, NVIDIA open kernel module 580.173.02. The holds ran beside the + live 35B server; its health was `"status":"ok"` before and after every hold (`*/health.txt`). +- Paths in the copied logs are rewritten to `$WORK` / `$HOME`. + +## Holds (flock /tmp/aien-gb10.lock, each under 15 min, UTC) + +| Hold | Start to end | Command (`OMB_BUILD=build-gb10 OMEGABLAS_DEVICE=gb10 sh tests/netlib/run.sh` plus) | Exit | +|---|---|---|---| +| h1 | 08:13:28 to 08:13:30 | `DRIVERS=sblat2` (sizing run) | 1, because three drivers were NOT_RUN by selection | +| h2 | 08:14:22 to 08:14:35 | none: stock decks, THRESH 16.0, the **gate** | 0 | +| h3 | 08:14:41 to 08:14:54 | `THRESH=0.0` (measurement) | 0 | +| h4 | 08:14:54 to 08:14:55 | `GB10_HOOKS= OMB_TEST_MUTANT=1` | 1 (expected) | +| h5 | 08:15:04 to 08:15:06 | the same with `OMB_TEST_MUTANT=2`, then `OMB_TEST_MUTANT=4` | 1, 1 (expected) | +| h6 | 08:15:15 to 08:15:18 | `strace -f -e trace=openat,ioctl ./sblat2`, with the h2 binaries | 0 | +| h7 | 08:27:42 to 08:27:43 | `CHIP_TEST=gb10`: `tests/gb10/run.sh` (batched.c) | 0 | +| h8 | 08:27:43 to 08:27:43 | the same with `GB10_HOOKS= OMB_TEST_MUTANT=2` | 1 (expected) | + +## Results + +Gate, h2 (`chip-h2-stock-all/run.log`). Each driver's route line reads `device gb10 host 0`, so every +call reached the device path. + +| Driver | Netlib verdict | Calls (netlib count) | Device calls / tensor-core calls | Wall | +|---|---|---|---|---| +| sblat2 | SGEMV PASSED computational and error exits | 3461 | 3072 / 2304 | 0.989 s | +| sblat3 | SGEMM PASSED computational and error exits | 17496 | 10350 / 6750 | 2.802 s | +| c_sblat2 | cblas_sgemv PASSED column-major and row-major, and error exits | 3460 + 3460 | 6144 / 4608 | 2.278 s | +| c_sblat3 | cblas_sgemm PASSED column-major and row-major, and error exits | 17496 + 17496 | 20700 / 13500 | 6.184 s | + +Device calls are fewer than netlib calls because quick returns (m or n = 0, or alpha = 0 with +beta = 1) never leave the host. That is correct BLAS behaviour, and the counters do not include +them. `gb10_host_fixed` is 0 in all four drivers: no non-finite input reached CUDApp's host repair. + +Tolerance (docs/TOLERANCE.md, derived in Wolfram): for k <= 9 a correct bf16x3 result has a netlib +ratio of at most **11.19993**, below the deck's **THRESH 16.0**. The stock decks are therefore the +gate, unmodified. + +Measured largest ratio, h3 (`chip-h3-thresh0/run.log`): SGEMV **1.61** (sblat2, and c_sblat2 in +both orders) and SGEMM **1.87** (sblat3, and c_sblat3 in both orders). On the host, the same +measurement gave 1.48 / 1.51 for SGEMV and 0.00 for SGEMM (`host/host-thresh0.log`). + +## Negative controls + +- h4, mutant 1 (CUDApp drops the last k element): all four drivers FATAL. It never reached the + tensor core (`gb10_core_calls 0`): the first failing call has k = 1, which leaves the core no work. +- h5, mutant 2 (CUDApp forces op(B) = N): all four FATAL, after 97 tensor-core calls (sblat2 and + c_sblat2) and 73 (sblat3 and c_sblat3). This is the control that exercises the chip. +- h5, mutant 4 (CUDApp forces beta = 0): all four FATAL on their first beta != 0 call, before any + tensor-core call. +- h6, device evidence (`chip-h6-strace/strace-summary.txt`): during a passing sblat2 run, the process + opened `/dev/nvidia0` 2 times, `/dev/nvidia-uvm` 2 times and `/dev/nvidiactl` 2315 times, and made + 18508 ioctls. [INFERENCE] The per-call control-handle opens look like CUDApp's per-call buffer + setup and probably account for most of the per-call time below. Not profiled. + +## Batched, strided and single f32 products (tests/gb10/batched.c) + +There are 46 cases: strided batches of 3 in both layouts and all four transpose pairs, with shapes +(M,N,K) of (1,1,1), (3,5,2), (9,7,9), (16,13,16) and (4,6,0), and ld padding plus gaps between +batches. Two cases have overlapping C (stride 0, beta 0: the last problem wins). Two use pointer +arrays. One is `omb_gemm_ex` with a row bias and one is bf16, and both must stay on the host. Each +case checks every element against a double reference within the derived limit (device route 5.70, +host route 9.51; docs/TOLERANCE.md), checks that no element outside the products moved, and +checks the predicted route-counter movement. + +- Chip h7 (`chip-h7-batched/run.log`): 46 of 46 pass. Largest ratio: device route **1.116**, host + route 0.832. Routes: host 2, gb10 52 (40 strided batches in one call each, plus 2 x 3 + overlapping and 2 x 3 pointer problems), 108 tensor-core calls. +- Host, with the HMMA model in place of the chip (`host/batched-model.log`): 46 of 46 pass, with + the same 1.116 / 0.832 and the same route and core counts. Host path on both builds + (`host/batched-gb10build-host.log`, `host/batched-default-host.log`): 46 of 46 pass, largest + ratio 1.330, routes host 134 gb10 0. +- Negative controls. Chip h8, CUDApp mutant 2: 16 cases fail, exit 1. On the model, CUDApp + mutant 1: 36 fail; mutant 2: 16 fail; mutant 4: 42 fail. Mutant 5 changes only the fp8 + block-scale path and passes (0 fail), as expected. +- Library-side mutants, planted in a throwaway copy of `src/omegablas.c` and built `GB10=1`, run on + the model: + - op(A) and op(B) swapped in the gemm_ex mapping (`host/libmutant-opswap.diff`): two cases fail + on their values, then gemm_ex rejects a call with BAD_ARGS and the process aborts with exit + 134. + - stride_a and stride_b swapped (`host/libmutant-strideswap.txt`): gemm_ex rejects the first + batched call and the process aborts with exit 134. + + Neither result is silent. + +## Host (EXERCISED host, `host/`) + +- Default build (`build/`), stock decks: four of four PASS with unchanged call counts + (`host-default.log`, `host-timing.log`, and `host-final.log` after the last edit to the branch). +- The `GB10=1` library with no `OMEGABLAS_DEVICE`: four of four PASS on the host path + (`gb10build-hostmode.log`). +- The `GB10=1` library with the device path on the chip-exact HMMA model + (`OMB_TEST_BACKEND=model`, no GPU opened): four of four PASS with the same device and core call + counts as h2 (`model-device.log`). Largest ratios 1.61 and 1.87, identical to the chip + (`model-thresh0.log`). Mutant 1 on the model: four of four FATAL (`model-mutant1.log`). +- Refusals: `OMEGABLAS_DEVICE=gb10` on the default build aborts with "built without the GB10 path" + (`unbuilt-gb10.err`), and `OMEGABLAS_DEVICE=cuda` aborts (`badenv.err`). +- `tests/netlib/fetch.sh`: a fresh download verified against the pinned sha256 (exit 0), and a + corrupted tarball in its place is refused (exit 1). + +## Timing (predeclared 08:17Z before the host arm ran; N = 1 per arm; MEASURED) + +Metric: the per-driver wall time printed by run.sh, with identical decks. Predeclared expectation: +the device is slower, because netlib shapes (n <= 9) measure launch latency. Conditions differ: the +host arm ran under `nice -n 19 taskset -c 10-14`, the device arm unpinned. + +| Driver | Host | GB10 | GB10/host (Wolfram) | GB10 per device call | +|---|---|---|---|---| +| sblat2 | 0.0223 s | 0.989 s | 44.4x | 0.322 ms | +| sblat3 | 0.103 s | 2.802 s | 27.3x | 0.271 ms | +| c_sblat2 | 0.0442 s | 2.278 s | 51.6x | 0.371 ms | +| c_sblat3 | 0.216 s | 6.184 s | 28.7x | 0.299 ms | + +The device path is a correctness path for these sizes, not a speedup. Large-shape throughput was +NOT_RUN in this receipt. + +## NOT_RUN + +- Large-k device numerics (k > 16, where the fixed netlib THRESH 16 no longer bounds a correct + result; docs/TOLERANCE.md). +- `omb_gemm_ex` f32 with a fused epilogue on the device: by design it stays on the host + (exercised as a host-route case above). +- Throughput at large shapes, and repeated timing runs. +- The python and DLPack binding against `build-gb10`, and `tests/smoke.py` on the device path + (its limits are not derived for the device; docs/TOLERANCE.md). diff --git a/receipts/netlib-gb10-20261027/chip-h1-sblat2/health.txt b/receipts/netlib-gb10-20261027/chip-h1-sblat2/health.txt new file mode 100644 index 0000000..3f64034 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h1-sblat2/health.txt @@ -0,0 +1,3 @@ +health before: {"busy":false,"concurrency":8,"engine":"omega-qwen36-batch","in_flight":0,"model":"qwen3.6-35b-a3b-fp8","status":"ok","uptime_s":15280} +health after: {"busy":false,"concurrency":8,"engine":"omega-qwen36-batch","in_flight":0,"model":"qwen3.6-35b-a3b-fp8","status":"ok","uptime_s":15382} +exit 1 diff --git a/receipts/netlib-gb10-20261027/chip-h1-sblat2/run.log b/receipts/netlib-gb10-20261027/chip-h1-sblat2/run.log new file mode 100644 index 0000000..b6d2f3c --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h1-sblat2/run.log @@ -0,0 +1,39 @@ +netlib: library $WORK/blas/build-gb10/libomegablas.so, device gb10 +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1801:32: + + 1801 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1484:32: + + 1484 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1124:32: + + 1124 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:813:32: + + 813 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:485:32: + + 485 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:91:32: + + 91 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +sblat2: wall 1.088893927 s +sblat2: omega-blas routes: device gb10 host 0 gb10 3072 gb10_core_calls 2304 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +sblat2: PASS + SGEMV PASSED THE TESTS OF ERROR-EXITS + SGEMV PASSED THE COMPUTATIONAL TESTS ( 3461 CALLS) +sblat3: NOT_RUN (DRIVERS) +c_sblat2: NOT_RUN (DRIVERS) +c_sblat3: NOT_RUN (DRIVERS) diff --git a/receipts/netlib-gb10-20261027/chip-h1-sblat2/sblat2.log b/receipts/netlib-gb10-20261027/chip-h1-sblat2/sblat2.log new file mode 100644 index 0000000..144c525 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h1-sblat2/sblat2.log @@ -0,0 +1 @@ +omega-blas routes: device gb10 host 0 gb10 3072 gb10_core_calls 2304 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 diff --git a/receipts/netlib-gb10-20261027/chip-h1-sblat2/sblat2.out b/receipts/netlib-gb10-20261027/chip-h1-sblat2/sblat2.out new file mode 100644 index 0000000..5350958 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h1-sblat2/sblat2.out @@ -0,0 +1,48 @@ + TESTS OF THE REAL LEVEL 2 BLAS + + THE FOLLOWING PARAMETER VALUES WILL BE USED: + FOR N 0 1 2 3 5 9 + FOR K 0 1 2 4 + FOR INCX AND INCY 1 2 -1 -2 + FOR ALPHA 0.0 1.0 0.7 + FOR BETA 0.0 1.0 0.9 + + ROUTINES PASS COMPUTATIONAL TESTS IF TEST RATIO IS LESS THAN 16.00 + + RELATIVE MACHINE PRECISION IS TAKEN TO BE 1.2E-07 + + SGEMV PASSED THE TESTS OF ERROR-EXITS + + SGEMV PASSED THE COMPUTATIONAL TESTS ( 3461 CALLS) + + SGBMV WAS NOT TESTED + + SSYMV WAS NOT TESTED + + SSBMV WAS NOT TESTED + + SSPMV WAS NOT TESTED + + STRMV WAS NOT TESTED + + STBMV WAS NOT TESTED + + STPMV WAS NOT TESTED + + STRSV WAS NOT TESTED + + STBSV WAS NOT TESTED + + STPSV WAS NOT TESTED + + SGER WAS NOT TESTED + + SSYR WAS NOT TESTED + + SSPR WAS NOT TESTED + + SSYR2 WAS NOT TESTED + + SSPR2 WAS NOT TESTED + + END OF TESTS diff --git a/receipts/netlib-gb10-20261027/chip-h2-stock-all/c_sblat2.log b/receipts/netlib-gb10-20261027/chip-h2-stock-all/c_sblat2.log new file mode 100644 index 0000000..815554e --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h2-stock-all/c_sblat2.log @@ -0,0 +1,52 @@ + cblas_sgemv PASSED THE TESTS OF ERROR-EXITS + TESTS OF THE REAL LEVEL 2 BLAS + + THE FOLLOWING PARAMETER VALUES WILL BE USED: + FOR N 0 1 2 3 5 9 + FOR K 0 1 2 4 + FOR INCX AND INCY 1 2 -1 -2 + FOR ALPHA 0.0 1.0 0.7 + FOR BETA 0.0 1.0 0.9 + + ROUTINES PASS COMPUTATIONAL TESTS IF TEST RATIO IS LESS THAN 16.00 + + COLUMN-MAJOR AND ROW-MAJOR DATA LAYOUTS ARE TESTED + + RELATIVE MACHINE PRECISION IS TAKEN TO BE 1.2E-07 + + + cblas_sgemv PASSED THE COLUMN-MAJOR COMPUTATIONAL TESTS ( 3460 CALLS) + cblas_sgemv PASSED THE ROW-MAJOR COMPUTATIONAL TESTS ( 3460 CALLS) + + cblas_sgbmv WAS NOT TESTED + + cblas_ssymv WAS NOT TESTED + + cblas_ssbmv WAS NOT TESTED + + cblas_sspmv WAS NOT TESTED + + cblas_strmv WAS NOT TESTED + + cblas_stbmv WAS NOT TESTED + + cblas_stpmv WAS NOT TESTED + + cblas_strsv WAS NOT TESTED + + cblas_stbsv WAS NOT TESTED + + cblas_stpsv WAS NOT TESTED + + cblas_sger WAS NOT TESTED + + cblas_ssyr WAS NOT TESTED + + cblas_sspr WAS NOT TESTED + + cblas_ssyr2 WAS NOT TESTED + + cblas_sspr2 WAS NOT TESTED + + END OF TESTS +omega-blas routes: device gb10 host 0 gb10 6144 gb10_core_calls 4608 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 diff --git a/receipts/netlib-gb10-20261027/chip-h2-stock-all/c_sblat3.log b/receipts/netlib-gb10-20261027/chip-h2-stock-all/c_sblat3.log new file mode 100644 index 0000000..af3dbfd --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h2-stock-all/c_sblat3.log @@ -0,0 +1,32 @@ + cblas_sgemm PASSED THE TESTS OF ERROR-EXITS + TESTS OF THE REAL LEVEL 3 BLAS + + THE FOLLOWING PARAMETER VALUES WILL BE USED: + FOR N 0 1 2 3 5 9 + FOR ALPHA 0.0 1.0 0.7 + FOR BETA 0.0 1.0 1.3 + + ROUTINES PASS COMPUTATIONAL TESTS IF TEST RATIO IS LESS THAN 16.00 + + COLUMN-MAJOR AND ROW-MAJOR DATA LAYOUTS ARE TESTED + + RELATIVE MACHINE PRECISION IS TAKEN TO BE 1.2E-07 + + + cblas_sgemm PASSED THE COLUMN-MAJOR COMPUTATIONAL TESTS ( 17496 CALLS) + cblas_sgemm PASSED THE ROW-MAJOR COMPUTATIONAL TESTS ( 17496 CALLS) + + cblas_ssymm WAS NOT TESTED + + cblas_strmm WAS NOT TESTED + + cblas_strsm WAS NOT TESTED + + cblas_ssyrk WAS NOT TESTED + + cblas_ssyr2k WAS NOT TESTED + + cblas_sgemmtr WAS NOT TESTED + + END OF TESTS +omega-blas routes: device gb10 host 0 gb10 20700 gb10_core_calls 13500 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 diff --git a/receipts/netlib-gb10-20261027/chip-h2-stock-all/health.txt b/receipts/netlib-gb10-20261027/chip-h2-stock-all/health.txt new file mode 100644 index 0000000..bdd28d5 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h2-stock-all/health.txt @@ -0,0 +1,3 @@ +health before: {"busy":false,"concurrency":8,"engine":"omega-qwen36-batch","in_flight":0,"model":"qwen3.6-35b-a3b-fp8","status":"ok","uptime_s":15414} +health after: {"busy":false,"concurrency":8,"engine":"omega-qwen36-batch","in_flight":0,"model":"qwen3.6-35b-a3b-fp8","status":"ok","uptime_s":15447} +exit 0 diff --git a/receipts/netlib-gb10-20261027/chip-h2-stock-all/run.log b/receipts/netlib-gb10-20261027/chip-h2-stock-all/run.log new file mode 100644 index 0000000..8ec33df --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h2-stock-all/run.log @@ -0,0 +1,53 @@ +netlib: library $WORK/blas/build-gb10/libomegablas.so, device gb10 +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1801:32: + + 1801 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1484:32: + + 1484 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1124:32: + + 1124 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:813:32: + + 813 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:485:32: + + 485 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:91:32: + + 91 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +sblat2: wall .988790833 s +sblat2: omega-blas routes: device gb10 host 0 gb10 3072 gb10_core_calls 2304 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +sblat2: PASS + SGEMV PASSED THE TESTS OF ERROR-EXITS + SGEMV PASSED THE COMPUTATIONAL TESTS ( 3461 CALLS) +sblat3: wall 2.801904893 s +sblat3: omega-blas routes: device gb10 host 0 gb10 10350 gb10_core_calls 6750 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +sblat3: PASS + SGEMM PASSED THE TESTS OF ERROR-EXITS + SGEMM PASSED THE COMPUTATIONAL TESTS ( 17496 CALLS) +c_sblat2: wall 2.278077182 s +c_sblat2: omega-blas routes: device gb10 host 0 gb10 6144 gb10_core_calls 4608 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +c_sblat2: PASS + cblas_sgemv PASSED THE TESTS OF ERROR-EXITS + cblas_sgemv PASSED THE COLUMN-MAJOR COMPUTATIONAL TESTS ( 3460 CALLS) + cblas_sgemv PASSED THE ROW-MAJOR COMPUTATIONAL TESTS ( 3460 CALLS) +c_sblat3: wall 6.183701058 s +c_sblat3: omega-blas routes: device gb10 host 0 gb10 20700 gb10_core_calls 13500 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +c_sblat3: PASS + cblas_sgemm PASSED THE TESTS OF ERROR-EXITS + cblas_sgemm PASSED THE COLUMN-MAJOR COMPUTATIONAL TESTS ( 17496 CALLS) + cblas_sgemm PASSED THE ROW-MAJOR COMPUTATIONAL TESTS ( 17496 CALLS) diff --git a/receipts/netlib-gb10-20261027/chip-h2-stock-all/sblat2.log b/receipts/netlib-gb10-20261027/chip-h2-stock-all/sblat2.log new file mode 100644 index 0000000..144c525 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h2-stock-all/sblat2.log @@ -0,0 +1 @@ +omega-blas routes: device gb10 host 0 gb10 3072 gb10_core_calls 2304 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 diff --git a/receipts/netlib-gb10-20261027/chip-h2-stock-all/sblat2.out b/receipts/netlib-gb10-20261027/chip-h2-stock-all/sblat2.out new file mode 100644 index 0000000..5350958 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h2-stock-all/sblat2.out @@ -0,0 +1,48 @@ + TESTS OF THE REAL LEVEL 2 BLAS + + THE FOLLOWING PARAMETER VALUES WILL BE USED: + FOR N 0 1 2 3 5 9 + FOR K 0 1 2 4 + FOR INCX AND INCY 1 2 -1 -2 + FOR ALPHA 0.0 1.0 0.7 + FOR BETA 0.0 1.0 0.9 + + ROUTINES PASS COMPUTATIONAL TESTS IF TEST RATIO IS LESS THAN 16.00 + + RELATIVE MACHINE PRECISION IS TAKEN TO BE 1.2E-07 + + SGEMV PASSED THE TESTS OF ERROR-EXITS + + SGEMV PASSED THE COMPUTATIONAL TESTS ( 3461 CALLS) + + SGBMV WAS NOT TESTED + + SSYMV WAS NOT TESTED + + SSBMV WAS NOT TESTED + + SSPMV WAS NOT TESTED + + STRMV WAS NOT TESTED + + STBMV WAS NOT TESTED + + STPMV WAS NOT TESTED + + STRSV WAS NOT TESTED + + STBSV WAS NOT TESTED + + STPSV WAS NOT TESTED + + SGER WAS NOT TESTED + + SSYR WAS NOT TESTED + + SSPR WAS NOT TESTED + + SSYR2 WAS NOT TESTED + + SSPR2 WAS NOT TESTED + + END OF TESTS diff --git a/receipts/netlib-gb10-20261027/chip-h2-stock-all/sblat3.log b/receipts/netlib-gb10-20261027/chip-h2-stock-all/sblat3.log new file mode 100644 index 0000000..540a91f --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h2-stock-all/sblat3.log @@ -0,0 +1 @@ +omega-blas routes: device gb10 host 0 gb10 10350 gb10_core_calls 6750 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 diff --git a/receipts/netlib-gb10-20261027/chip-h2-stock-all/sblat3.out b/receipts/netlib-gb10-20261027/chip-h2-stock-all/sblat3.out new file mode 100644 index 0000000..1f95064 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h2-stock-all/sblat3.out @@ -0,0 +1,28 @@ + TESTS OF THE REAL LEVEL 3 BLAS + + THE FOLLOWING PARAMETER VALUES WILL BE USED: + FOR N 0 1 2 3 5 9 + FOR ALPHA 0.0 1.0 0.7 + FOR BETA 0.0 1.0 1.3 + + ROUTINES PASS COMPUTATIONAL TESTS IF TEST RATIO IS LESS THAN 16.00 + + RELATIVE MACHINE PRECISION IS TAKEN TO BE 1.2E-07 + + SGEMM PASSED THE TESTS OF ERROR-EXITS + + SGEMM PASSED THE COMPUTATIONAL TESTS ( 17496 CALLS) + + SSYMM WAS NOT TESTED + + STRMM WAS NOT TESTED + + STRSM WAS NOT TESTED + + SSYRK WAS NOT TESTED + + SSYR2K WAS NOT TESTED + + SGEMMTR WAS NOT TESTED + + END OF TESTS diff --git a/receipts/netlib-gb10-20261027/chip-h3-thresh0/c_sblat2.log b/receipts/netlib-gb10-20261027/chip-h3-thresh0/c_sblat2.log new file mode 100644 index 0000000..806899a --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h3-thresh0/c_sblat2.log @@ -0,0 +1,54 @@ + cblas_sgemv PASSED THE TESTS OF ERROR-EXITS + TESTS OF THE REAL LEVEL 2 BLAS + + THE FOLLOWING PARAMETER VALUES WILL BE USED: + FOR N 0 1 2 3 5 9 + FOR K 0 1 2 4 + FOR INCX AND INCY 1 2 -1 -2 + FOR ALPHA 0.0 1.0 0.7 + FOR BETA 0.0 1.0 0.9 + + ROUTINES PASS COMPUTATIONAL TESTS IF TEST RATIO IS LESS THAN 0.00 + + COLUMN-MAJOR AND ROW-MAJOR DATA LAYOUTS ARE TESTED + + RELATIVE MACHINE PRECISION IS TAKEN TO BE 1.2E-07 + + + cblas_sgemv COMPLETED THE COLUMN-MAJOR COMPUTATIONAL TESTS ( 3460 CALLS) + ******* BUT WITH MAXIMUM TEST RATIO 1.61 - SUSPECT ******* + cblas_sgemv COMPLETED THE ROW-MAJOR COMPUTATIONAL TESTS ( 3460 CALLS) + ******* BUT WITH MAXIMUM TEST RATIO 1.61 - SUSPECT ******* + + cblas_sgbmv WAS NOT TESTED + + cblas_ssymv WAS NOT TESTED + + cblas_ssbmv WAS NOT TESTED + + cblas_sspmv WAS NOT TESTED + + cblas_strmv WAS NOT TESTED + + cblas_stbmv WAS NOT TESTED + + cblas_stpmv WAS NOT TESTED + + cblas_strsv WAS NOT TESTED + + cblas_stbsv WAS NOT TESTED + + cblas_stpsv WAS NOT TESTED + + cblas_sger WAS NOT TESTED + + cblas_ssyr WAS NOT TESTED + + cblas_sspr WAS NOT TESTED + + cblas_ssyr2 WAS NOT TESTED + + cblas_sspr2 WAS NOT TESTED + + END OF TESTS +omega-blas routes: device gb10 host 0 gb10 6144 gb10_core_calls 4608 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 diff --git a/receipts/netlib-gb10-20261027/chip-h3-thresh0/c_sblat3.log b/receipts/netlib-gb10-20261027/chip-h3-thresh0/c_sblat3.log new file mode 100644 index 0000000..7d0a07f --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h3-thresh0/c_sblat3.log @@ -0,0 +1,34 @@ + cblas_sgemm PASSED THE TESTS OF ERROR-EXITS + TESTS OF THE REAL LEVEL 3 BLAS + + THE FOLLOWING PARAMETER VALUES WILL BE USED: + FOR N 0 1 2 3 5 9 + FOR ALPHA 0.0 1.0 0.7 + FOR BETA 0.0 1.0 1.3 + + ROUTINES PASS COMPUTATIONAL TESTS IF TEST RATIO IS LESS THAN 0.00 + + COLUMN-MAJOR AND ROW-MAJOR DATA LAYOUTS ARE TESTED + + RELATIVE MACHINE PRECISION IS TAKEN TO BE 1.2E-07 + + + cblas_sgemm COMPLETED THE COLUMN-MAJOR COMPUTATIONAL TESTS ( 17496 CALLS) + ******* BUT WITH MAXIMUM TEST RATIO 1.87 - SUSPECT ******* + cblas_sgemm COMPLETED THE ROW-MAJOR COMPUTATIONAL TESTS ( 17496 CALLS) + ******* BUT WITH MAXIMUM TEST RATIO 1.87 - SUSPECT ******* + + cblas_ssymm WAS NOT TESTED + + cblas_strmm WAS NOT TESTED + + cblas_strsm WAS NOT TESTED + + cblas_ssyrk WAS NOT TESTED + + cblas_ssyr2k WAS NOT TESTED + + cblas_sgemmtr WAS NOT TESTED + + END OF TESTS +omega-blas routes: device gb10 host 0 gb10 20700 gb10_core_calls 13500 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 diff --git a/receipts/netlib-gb10-20261027/chip-h3-thresh0/health.txt b/receipts/netlib-gb10-20261027/chip-h3-thresh0/health.txt new file mode 100644 index 0000000..bfa7f09 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h3-thresh0/health.txt @@ -0,0 +1,3 @@ +health before: {"busy":false,"concurrency":8,"engine":"omega-qwen36-batch","in_flight":0,"model":"qwen3.6-35b-a3b-fp8","status":"ok","uptime_s":15452} +health after: {"busy":false,"concurrency":8,"engine":"omega-qwen36-batch","in_flight":0,"model":"qwen3.6-35b-a3b-fp8","status":"ok","uptime_s":15465} +exit 0 diff --git a/receipts/netlib-gb10-20261027/chip-h3-thresh0/run.log b/receipts/netlib-gb10-20261027/chip-h3-thresh0/run.log new file mode 100644 index 0000000..f7dbb16 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h3-thresh0/run.log @@ -0,0 +1,53 @@ +netlib: library $WORK/blas/build-gb10/libomegablas.so, device gb10, THRESH 0.0 (measurement) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1801:32: + + 1801 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1484:32: + + 1484 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1124:32: + + 1124 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:813:32: + + 813 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:485:32: + + 485 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:91:32: + + 91 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +sblat2: wall .994095124 s +sblat2: omega-blas routes: device gb10 host 0 gb10 3072 gb10_core_calls 2304 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +sblat2: SGEMV PASSED THE TESTS OF ERROR-EXITS +sblat2: ******* BUT WITH MAXIMUM TEST RATIO 1.61 - SUSPECT ******* +sblat2: measured (THRESH 0.0) +sblat3: wall 2.798239218 s +sblat3: omega-blas routes: device gb10 host 0 gb10 10350 gb10_core_calls 6750 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +sblat3: SGEMM PASSED THE TESTS OF ERROR-EXITS +sblat3: ******* BUT WITH MAXIMUM TEST RATIO 1.87 - SUSPECT ******* +sblat3: measured (THRESH 0.0) +c_sblat2: wall 1.936584396 s +c_sblat2: omega-blas routes: device gb10 host 0 gb10 6144 gb10_core_calls 4608 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +c_sblat2: cblas_sgemv PASSED THE TESTS OF ERROR-EXITS +c_sblat2: ******* BUT WITH MAXIMUM TEST RATIO 1.61 - SUSPECT ******* +c_sblat2: ******* BUT WITH MAXIMUM TEST RATIO 1.61 - SUSPECT ******* +c_sblat2: measured (THRESH 0.0) +c_sblat3: wall 6.157194089 s +c_sblat3: omega-blas routes: device gb10 host 0 gb10 20700 gb10_core_calls 13500 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +c_sblat3: cblas_sgemm PASSED THE TESTS OF ERROR-EXITS +c_sblat3: ******* BUT WITH MAXIMUM TEST RATIO 1.87 - SUSPECT ******* +c_sblat3: ******* BUT WITH MAXIMUM TEST RATIO 1.87 - SUSPECT ******* +c_sblat3: measured (THRESH 0.0) diff --git a/receipts/netlib-gb10-20261027/chip-h3-thresh0/sblat2.log b/receipts/netlib-gb10-20261027/chip-h3-thresh0/sblat2.log new file mode 100644 index 0000000..144c525 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h3-thresh0/sblat2.log @@ -0,0 +1 @@ +omega-blas routes: device gb10 host 0 gb10 3072 gb10_core_calls 2304 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 diff --git a/receipts/netlib-gb10-20261027/chip-h3-thresh0/sblat2.out b/receipts/netlib-gb10-20261027/chip-h3-thresh0/sblat2.out new file mode 100644 index 0000000..db2c4b7 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h3-thresh0/sblat2.out @@ -0,0 +1,49 @@ + TESTS OF THE REAL LEVEL 2 BLAS + + THE FOLLOWING PARAMETER VALUES WILL BE USED: + FOR N 0 1 2 3 5 9 + FOR K 0 1 2 4 + FOR INCX AND INCY 1 2 -1 -2 + FOR ALPHA 0.0 1.0 0.7 + FOR BETA 0.0 1.0 0.9 + + ROUTINES PASS COMPUTATIONAL TESTS IF TEST RATIO IS LESS THAN 0.00 + + RELATIVE MACHINE PRECISION IS TAKEN TO BE 1.2E-07 + + SGEMV PASSED THE TESTS OF ERROR-EXITS + + SGEMV COMPLETED THE COMPUTATIONAL TESTS ( 3461 CALLS) + ******* BUT WITH MAXIMUM TEST RATIO 1.61 - SUSPECT ******* + + SGBMV WAS NOT TESTED + + SSYMV WAS NOT TESTED + + SSBMV WAS NOT TESTED + + SSPMV WAS NOT TESTED + + STRMV WAS NOT TESTED + + STBMV WAS NOT TESTED + + STPMV WAS NOT TESTED + + STRSV WAS NOT TESTED + + STBSV WAS NOT TESTED + + STPSV WAS NOT TESTED + + SGER WAS NOT TESTED + + SSYR WAS NOT TESTED + + SSPR WAS NOT TESTED + + SSYR2 WAS NOT TESTED + + SSPR2 WAS NOT TESTED + + END OF TESTS diff --git a/receipts/netlib-gb10-20261027/chip-h3-thresh0/sblat3.log b/receipts/netlib-gb10-20261027/chip-h3-thresh0/sblat3.log new file mode 100644 index 0000000..540a91f --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h3-thresh0/sblat3.log @@ -0,0 +1 @@ +omega-blas routes: device gb10 host 0 gb10 10350 gb10_core_calls 6750 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 diff --git a/receipts/netlib-gb10-20261027/chip-h3-thresh0/sblat3.out b/receipts/netlib-gb10-20261027/chip-h3-thresh0/sblat3.out new file mode 100644 index 0000000..b7a5618 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h3-thresh0/sblat3.out @@ -0,0 +1,29 @@ + TESTS OF THE REAL LEVEL 3 BLAS + + THE FOLLOWING PARAMETER VALUES WILL BE USED: + FOR N 0 1 2 3 5 9 + FOR ALPHA 0.0 1.0 0.7 + FOR BETA 0.0 1.0 1.3 + + ROUTINES PASS COMPUTATIONAL TESTS IF TEST RATIO IS LESS THAN 0.00 + + RELATIVE MACHINE PRECISION IS TAKEN TO BE 1.2E-07 + + SGEMM PASSED THE TESTS OF ERROR-EXITS + + SGEMM COMPLETED THE COMPUTATIONAL TESTS ( 17496 CALLS) + ******* BUT WITH MAXIMUM TEST RATIO 1.87 - SUSPECT ******* + + SSYMM WAS NOT TESTED + + STRMM WAS NOT TESTED + + STRSM WAS NOT TESTED + + SSYRK WAS NOT TESTED + + SSYR2K WAS NOT TESTED + + SGEMMTR WAS NOT TESTED + + END OF TESTS diff --git a/receipts/netlib-gb10-20261027/chip-h4-mutant1/c_sblat2.log b/receipts/netlib-gb10-20261027/chip-h4-mutant1/c_sblat2.log new file mode 100644 index 0000000..1758ff0 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h4-mutant1/c_sblat2.log @@ -0,0 +1,59 @@ +omega-blas test hooks: gemm_ex mutant 1 planted + cblas_sgemv PASSED THE TESTS OF ERROR-EXITS + TESTS OF THE REAL LEVEL 2 BLAS + + THE FOLLOWING PARAMETER VALUES WILL BE USED: + FOR N 0 1 2 3 5 9 + FOR K 0 1 2 4 + FOR INCX AND INCY 1 2 -1 -2 + FOR ALPHA 0.0 1.0 0.7 + FOR BETA 0.0 1.0 0.9 + + ROUTINES PASS COMPUTATIONAL TESTS IF TEST RATIO IS LESS THAN 16.00 + + COLUMN-MAJOR AND ROW-MAJOR DATA LAYOUTS ARE TESTED + + RELATIVE MACHINE PRECISION IS TAKEN TO BE 1.2E-07 + + + ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* + EXPECTED RESULT COMPUTED RESULT + 1 0.263061 0.00000 + 2 -0.330376 0.00000 + ******* cblas_sgemv FAILED ON CALL NUMBER: + 7: cblas_sgemv ( CblasNoTrans, 2, 1, 1.0, A, 3, X, 1, 0.0, Y, 1) . + ******* cblas_sgemv FAILED ON CALL NUMBER: + 4: cblas_sgemv ( CblasNoTrans, 2, 1, 0.0, A, 3, X, 1, 0.0, Y, 1) . + + cblas_sgbmv WAS NOT TESTED + + cblas_ssymv WAS NOT TESTED + + cblas_ssbmv WAS NOT TESTED + + cblas_sspmv WAS NOT TESTED + + cblas_strmv WAS NOT TESTED + + cblas_stbmv WAS NOT TESTED + + cblas_stpmv WAS NOT TESTED + + cblas_strsv WAS NOT TESTED + + cblas_stbsv WAS NOT TESTED + + cblas_stpsv WAS NOT TESTED + + cblas_sger WAS NOT TESTED + + cblas_ssyr WAS NOT TESTED + + cblas_sspr WAS NOT TESTED + + cblas_ssyr2 WAS NOT TESTED + + cblas_sspr2 WAS NOT TESTED + + END OF TESTS +omega-blas routes: device gb10 host 0 gb10 4 gb10_core_calls 0 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 diff --git a/receipts/netlib-gb10-20261027/chip-h4-mutant1/c_sblat3.log b/receipts/netlib-gb10-20261027/chip-h4-mutant1/c_sblat3.log new file mode 100644 index 0000000..1753a89 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h4-mutant1/c_sblat3.log @@ -0,0 +1,40 @@ +omega-blas test hooks: gemm_ex mutant 1 planted + cblas_sgemm PASSED THE TESTS OF ERROR-EXITS + TESTS OF THE REAL LEVEL 3 BLAS + + THE FOLLOWING PARAMETER VALUES WILL BE USED: + FOR N 0 1 2 3 5 9 + FOR ALPHA 0.0 1.0 0.7 + FOR BETA 0.0 1.0 1.3 + + ROUTINES PASS COMPUTATIONAL TESTS IF TEST RATIO IS LESS THAN 16.00 + + COLUMN-MAJOR AND ROW-MAJOR DATA LAYOUTS ARE TESTED + + RELATIVE MACHINE PRECISION IS TAKEN TO BE 1.2E-07 + + + ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* + EXPECTED RESULT COMPUTED RESULT + 1 0.184221E-01 0.00000 + ******* cblas_sgemm FAILED ON CALL NUMBER: + 3487: cblas_sgemm ( CblasColMajor, CblasNoTrans, CblasNoTrans, + 1, 1, 1, 1.0, A, 2, B, 2, 0.0, C, 2). + ******* cblas_sgemm FAILED ON CALL NUMBER: + 3403: cblas_sgemm ( CblasRowMajor, CblasNoTrans, CblasNoTrans, + 1, 1, 0, 0.0, A, 2, B, 1, 0.0, C, 2). + + cblas_ssymm WAS NOT TESTED + + cblas_strmm WAS NOT TESTED + + cblas_strsm WAS NOT TESTED + + cblas_ssyrk WAS NOT TESTED + + cblas_ssyr2k WAS NOT TESTED + + cblas_sgemmtr WAS NOT TESTED + + END OF TESTS +omega-blas routes: device gb10 host 0 gb10 58 gb10_core_calls 0 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 diff --git a/receipts/netlib-gb10-20261027/chip-h4-mutant1/health.txt b/receipts/netlib-gb10-20261027/chip-h4-mutant1/health.txt new file mode 100644 index 0000000..22bcec3 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h4-mutant1/health.txt @@ -0,0 +1,3 @@ +health before: {"busy":false,"concurrency":8,"engine":"omega-qwen36-batch","in_flight":0,"model":"qwen3.6-35b-a3b-fp8","status":"ok","uptime_s":15466} +health after: {"busy":false,"concurrency":8,"engine":"omega-qwen36-batch","in_flight":0,"model":"qwen3.6-35b-a3b-fp8","status":"ok","uptime_s":15467} +exit 1 diff --git a/receipts/netlib-gb10-20261027/chip-h4-mutant1/run.log b/receipts/netlib-gb10-20261027/chip-h4-mutant1/run.log new file mode 100644 index 0000000..5539190 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h4-mutant1/run.log @@ -0,0 +1,53 @@ +netlib: library $WORK/blas/build-gb10/libomegablas.so, device gb10 +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1801:32: + + 1801 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1484:32: + + 1484 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1124:32: + + 1124 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:813:32: + + 813 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:485:32: + + 485 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:91:32: + + 91 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +sblat2: wall .002620785 s +sblat2: omega-blas routes: device gb10 host 0 gb10 3 gb10_core_calls 0 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +sblat2: FAIL +16: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +20: ******* SGEMV FAILED ON CALL NUMBER: +sblat3: wall .003403271 s +sblat3: omega-blas routes: device gb10 host 0 gb10 57 gb10_core_calls 0 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +sblat3: FAIL +14: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +17: ******* SGEMM FAILED ON CALL NUMBER: +c_sblat2: wall .002696322 s +c_sblat2: omega-blas routes: device gb10 host 0 gb10 4 gb10_core_calls 0 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +c_sblat2: FAIL +19: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +23: ******* cblas_sgemv FAILED ON CALL NUMBER: +25: ******* cblas_sgemv FAILED ON CALL NUMBER: +c_sblat3: wall .004468414 s +c_sblat3: omega-blas routes: device gb10 host 0 gb10 58 gb10_core_calls 0 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +c_sblat3: FAIL +17: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +20: ******* cblas_sgemm FAILED ON CALL NUMBER: +23: ******* cblas_sgemm FAILED ON CALL NUMBER: diff --git a/receipts/netlib-gb10-20261027/chip-h4-mutant1/sblat2.log b/receipts/netlib-gb10-20261027/chip-h4-mutant1/sblat2.log new file mode 100644 index 0000000..b246d90 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h4-mutant1/sblat2.log @@ -0,0 +1,2 @@ +omega-blas test hooks: gemm_ex mutant 1 planted +omega-blas routes: device gb10 host 0 gb10 3 gb10_core_calls 0 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 diff --git a/receipts/netlib-gb10-20261027/chip-h4-mutant1/sblat2.out b/receipts/netlib-gb10-20261027/chip-h4-mutant1/sblat2.out new file mode 100644 index 0000000..87a4b01 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h4-mutant1/sblat2.out @@ -0,0 +1,53 @@ + TESTS OF THE REAL LEVEL 2 BLAS + + THE FOLLOWING PARAMETER VALUES WILL BE USED: + FOR N 0 1 2 3 5 9 + FOR K 0 1 2 4 + FOR INCX AND INCY 1 2 -1 -2 + FOR ALPHA 0.0 1.0 0.7 + FOR BETA 0.0 1.0 0.9 + + ROUTINES PASS COMPUTATIONAL TESTS IF TEST RATIO IS LESS THAN 16.00 + + RELATIVE MACHINE PRECISION IS TAKEN TO BE 1.2E-07 + + SGEMV PASSED THE TESTS OF ERROR-EXITS + + ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* + EXPECTED RESULT COMPUTED RESULT + 1 0.263061 0.00000 + 2 -0.330376 0.00000 + ******* SGEMV FAILED ON CALL NUMBER: + 7: SGEMV ('N', 2, 1, 1.0, A, 3, X, 1, 0.0, Y, 1) . + + SGBMV WAS NOT TESTED + + SSYMV WAS NOT TESTED + + SSBMV WAS NOT TESTED + + SSPMV WAS NOT TESTED + + STRMV WAS NOT TESTED + + STBMV WAS NOT TESTED + + STPMV WAS NOT TESTED + + STRSV WAS NOT TESTED + + STBSV WAS NOT TESTED + + STPSV WAS NOT TESTED + + SGER WAS NOT TESTED + + SSYR WAS NOT TESTED + + SSPR WAS NOT TESTED + + SSYR2 WAS NOT TESTED + + SSPR2 WAS NOT TESTED + + END OF TESTS diff --git a/receipts/netlib-gb10-20261027/chip-h4-mutant1/sblat3.log b/receipts/netlib-gb10-20261027/chip-h4-mutant1/sblat3.log new file mode 100644 index 0000000..151f527 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h4-mutant1/sblat3.log @@ -0,0 +1,2 @@ +omega-blas test hooks: gemm_ex mutant 1 planted +omega-blas routes: device gb10 host 0 gb10 57 gb10_core_calls 0 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 diff --git a/receipts/netlib-gb10-20261027/chip-h4-mutant1/sblat3.out b/receipts/netlib-gb10-20261027/chip-h4-mutant1/sblat3.out new file mode 100644 index 0000000..9059d71 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h4-mutant1/sblat3.out @@ -0,0 +1,32 @@ + TESTS OF THE REAL LEVEL 3 BLAS + + THE FOLLOWING PARAMETER VALUES WILL BE USED: + FOR N 0 1 2 3 5 9 + FOR ALPHA 0.0 1.0 0.7 + FOR BETA 0.0 1.0 1.3 + + ROUTINES PASS COMPUTATIONAL TESTS IF TEST RATIO IS LESS THAN 16.00 + + RELATIVE MACHINE PRECISION IS TAKEN TO BE 1.2E-07 + + SGEMM PASSED THE TESTS OF ERROR-EXITS + + ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* + EXPECTED RESULT COMPUTED RESULT + 1 0.184221E-01 0.00000 + ******* SGEMM FAILED ON CALL NUMBER: + 3487: SGEMM ('N','N', 1, 1, 1, 1.0, A, 2, B, 2, 0.0, C, 2). + + SSYMM WAS NOT TESTED + + STRMM WAS NOT TESTED + + STRSM WAS NOT TESTED + + SSYRK WAS NOT TESTED + + SSYR2K WAS NOT TESTED + + SGEMMTR WAS NOT TESTED + + END OF TESTS diff --git a/receipts/netlib-gb10-20261027/chip-h5-mutant2/c_sblat2.log b/receipts/netlib-gb10-20261027/chip-h5-mutant2/c_sblat2.log new file mode 100644 index 0000000..fb0423f --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h5-mutant2/c_sblat2.log @@ -0,0 +1,58 @@ +omega-blas test hooks: gemm_ex mutant 2 planted + cblas_sgemv PASSED THE TESTS OF ERROR-EXITS + TESTS OF THE REAL LEVEL 2 BLAS + + THE FOLLOWING PARAMETER VALUES WILL BE USED: + FOR N 0 1 2 3 5 9 + FOR K 0 1 2 4 + FOR INCX AND INCY 1 2 -1 -2 + FOR ALPHA 0.0 1.0 0.7 + FOR BETA 0.0 1.0 0.9 + + ROUTINES PASS COMPUTATIONAL TESTS IF TEST RATIO IS LESS THAN 16.00 + + COLUMN-MAJOR AND ROW-MAJOR DATA LAYOUTS ARE TESTED + + RELATIVE MACHINE PRECISION IS TAKEN TO BE 1.2E-07 + + + ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* + EXPECTED RESULT COMPUTED RESULT + 1 -0.118191 0.00000 + ******* cblas_sgemv FAILED ON CALL NUMBER: + 151: cblas_sgemv ( CblasTrans, 2, 1, 1.0, A, 3, X, 1, 0.0, Y, 1) . + ******* cblas_sgemv FAILED ON CALL NUMBER: + 4: cblas_sgemv ( CblasNoTrans, 2, 1, 0.0, A, 3, X, 1, 0.0, Y, 1) . + + cblas_sgbmv WAS NOT TESTED + + cblas_ssymv WAS NOT TESTED + + cblas_ssbmv WAS NOT TESTED + + cblas_sspmv WAS NOT TESTED + + cblas_strmv WAS NOT TESTED + + cblas_stbmv WAS NOT TESTED + + cblas_stpmv WAS NOT TESTED + + cblas_strsv WAS NOT TESTED + + cblas_stbsv WAS NOT TESTED + + cblas_stpsv WAS NOT TESTED + + cblas_sger WAS NOT TESTED + + cblas_ssyr WAS NOT TESTED + + cblas_sspr WAS NOT TESTED + + cblas_ssyr2 WAS NOT TESTED + + cblas_sspr2 WAS NOT TESTED + + END OF TESTS +omega-blas routes: device gb10 host 0 gb10 132 gb10_core_calls 97 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 diff --git a/receipts/netlib-gb10-20261027/chip-h5-mutant2/c_sblat3.log b/receipts/netlib-gb10-20261027/chip-h5-mutant2/c_sblat3.log new file mode 100644 index 0000000..99c4db8 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h5-mutant2/c_sblat3.log @@ -0,0 +1,40 @@ +omega-blas test hooks: gemm_ex mutant 2 planted + cblas_sgemm PASSED THE TESTS OF ERROR-EXITS + TESTS OF THE REAL LEVEL 3 BLAS + + THE FOLLOWING PARAMETER VALUES WILL BE USED: + FOR N 0 1 2 3 5 9 + FOR ALPHA 0.0 1.0 0.7 + FOR BETA 0.0 1.0 1.3 + + ROUTINES PASS COMPUTATIONAL TESTS IF TEST RATIO IS LESS THAN 16.00 + + COLUMN-MAJOR AND ROW-MAJOR DATA LAYOUTS ARE TESTED + + RELATIVE MACHINE PRECISION IS TAKEN TO BE 1.2E-07 + + + ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* + EXPECTED RESULT COMPUTED RESULT + 1 0.688802E-01 -0.169830E+09 + ******* cblas_sgemm FAILED ON CALL NUMBER: + 3595: cblas_sgemm ( CblasColMajor, CblasTrans, CblasNoTrans, + 1, 1, 2, 1.0, A, 3, B, 3, 0.0, C, 2). + ******* cblas_sgemm FAILED ON CALL NUMBER: + 3403: cblas_sgemm ( CblasRowMajor, CblasNoTrans, CblasNoTrans, + 1, 1, 0, 0.0, A, 2, B, 1, 0.0, C, 2). + + cblas_ssymm WAS NOT TESTED + + cblas_strmm WAS NOT TESTED + + cblas_strsm WAS NOT TESTED + + cblas_ssyrk WAS NOT TESTED + + cblas_ssyr2k WAS NOT TESTED + + cblas_sgemmtr WAS NOT TESTED + + END OF TESTS +omega-blas routes: device gb10 host 0 gb10 154 gb10_core_calls 73 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 diff --git a/receipts/netlib-gb10-20261027/chip-h5-mutant2/health.txt b/receipts/netlib-gb10-20261027/chip-h5-mutant2/health.txt new file mode 100644 index 0000000..b3d1c31 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h5-mutant2/health.txt @@ -0,0 +1,3 @@ +health before: {"busy":false,"concurrency":8,"engine":"omega-qwen36-batch","in_flight":0,"model":"qwen3.6-35b-a3b-fp8","status":"ok","uptime_s":15475} +health after: {"busy":false,"concurrency":8,"engine":"omega-qwen36-batch","in_flight":0,"model":"qwen3.6-35b-a3b-fp8","status":"ok","uptime_s":15477} +exit 1 diff --git a/receipts/netlib-gb10-20261027/chip-h5-mutant2/run.log b/receipts/netlib-gb10-20261027/chip-h5-mutant2/run.log new file mode 100644 index 0000000..3395aee --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h5-mutant2/run.log @@ -0,0 +1,53 @@ +netlib: library $WORK/blas/build-gb10/libomegablas.so, device gb10 +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1801:32: + + 1801 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1484:32: + + 1484 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1124:32: + + 1124 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:813:32: + + 813 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:485:32: + + 485 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:91:32: + + 91 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +sblat2: wall .116901957 s +sblat2: omega-blas routes: device gb10 host 0 gb10 131 gb10_core_calls 97 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +sblat2: FAIL +16: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +19: ******* SGEMV FAILED ON CALL NUMBER: +sblat3: wall .101567885 s +sblat3: omega-blas routes: device gb10 host 0 gb10 153 gb10_core_calls 73 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +sblat3: FAIL +14: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +17: ******* SGEMM FAILED ON CALL NUMBER: +c_sblat2: wall .136569418 s +c_sblat2: omega-blas routes: device gb10 host 0 gb10 132 gb10_core_calls 97 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +c_sblat2: FAIL +19: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +22: ******* cblas_sgemv FAILED ON CALL NUMBER: +24: ******* cblas_sgemv FAILED ON CALL NUMBER: +c_sblat3: wall .104178527 s +c_sblat3: omega-blas routes: device gb10 host 0 gb10 154 gb10_core_calls 73 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +c_sblat3: FAIL +17: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +20: ******* cblas_sgemm FAILED ON CALL NUMBER: +23: ******* cblas_sgemm FAILED ON CALL NUMBER: diff --git a/receipts/netlib-gb10-20261027/chip-h5-mutant2/sblat2.log b/receipts/netlib-gb10-20261027/chip-h5-mutant2/sblat2.log new file mode 100644 index 0000000..a5b84df --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h5-mutant2/sblat2.log @@ -0,0 +1,2 @@ +omega-blas test hooks: gemm_ex mutant 2 planted +omega-blas routes: device gb10 host 0 gb10 131 gb10_core_calls 97 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 diff --git a/receipts/netlib-gb10-20261027/chip-h5-mutant2/sblat2.out b/receipts/netlib-gb10-20261027/chip-h5-mutant2/sblat2.out new file mode 100644 index 0000000..af58c9e --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h5-mutant2/sblat2.out @@ -0,0 +1,52 @@ + TESTS OF THE REAL LEVEL 2 BLAS + + THE FOLLOWING PARAMETER VALUES WILL BE USED: + FOR N 0 1 2 3 5 9 + FOR K 0 1 2 4 + FOR INCX AND INCY 1 2 -1 -2 + FOR ALPHA 0.0 1.0 0.7 + FOR BETA 0.0 1.0 0.9 + + ROUTINES PASS COMPUTATIONAL TESTS IF TEST RATIO IS LESS THAN 16.00 + + RELATIVE MACHINE PRECISION IS TAKEN TO BE 1.2E-07 + + SGEMV PASSED THE TESTS OF ERROR-EXITS + + ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* + EXPECTED RESULT COMPUTED RESULT + 1 -0.118191 0.00000 + ******* SGEMV FAILED ON CALL NUMBER: + 151: SGEMV ('T', 2, 1, 1.0, A, 3, X, 1, 0.0, Y, 1) . + + SGBMV WAS NOT TESTED + + SSYMV WAS NOT TESTED + + SSBMV WAS NOT TESTED + + SSPMV WAS NOT TESTED + + STRMV WAS NOT TESTED + + STBMV WAS NOT TESTED + + STPMV WAS NOT TESTED + + STRSV WAS NOT TESTED + + STBSV WAS NOT TESTED + + STPSV WAS NOT TESTED + + SGER WAS NOT TESTED + + SSYR WAS NOT TESTED + + SSPR WAS NOT TESTED + + SSYR2 WAS NOT TESTED + + SSPR2 WAS NOT TESTED + + END OF TESTS diff --git a/receipts/netlib-gb10-20261027/chip-h5-mutant2/sblat3.log b/receipts/netlib-gb10-20261027/chip-h5-mutant2/sblat3.log new file mode 100644 index 0000000..32ac2b3 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h5-mutant2/sblat3.log @@ -0,0 +1,2 @@ +omega-blas test hooks: gemm_ex mutant 2 planted +omega-blas routes: device gb10 host 0 gb10 153 gb10_core_calls 73 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 diff --git a/receipts/netlib-gb10-20261027/chip-h5-mutant2/sblat3.out b/receipts/netlib-gb10-20261027/chip-h5-mutant2/sblat3.out new file mode 100644 index 0000000..9445a77 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h5-mutant2/sblat3.out @@ -0,0 +1,32 @@ + TESTS OF THE REAL LEVEL 3 BLAS + + THE FOLLOWING PARAMETER VALUES WILL BE USED: + FOR N 0 1 2 3 5 9 + FOR ALPHA 0.0 1.0 0.7 + FOR BETA 0.0 1.0 1.3 + + ROUTINES PASS COMPUTATIONAL TESTS IF TEST RATIO IS LESS THAN 16.00 + + RELATIVE MACHINE PRECISION IS TAKEN TO BE 1.2E-07 + + SGEMM PASSED THE TESTS OF ERROR-EXITS + + ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* + EXPECTED RESULT COMPUTED RESULT + 1 0.688802E-01 -0.169830E+09 + ******* SGEMM FAILED ON CALL NUMBER: + 3595: SGEMM ('T','N', 1, 1, 2, 1.0, A, 3, B, 3, 0.0, C, 2). + + SSYMM WAS NOT TESTED + + STRMM WAS NOT TESTED + + STRSM WAS NOT TESTED + + SSYRK WAS NOT TESTED + + SSYR2K WAS NOT TESTED + + SGEMMTR WAS NOT TESTED + + END OF TESTS diff --git a/receipts/netlib-gb10-20261027/chip-h5-mutant4/c_sblat2.log b/receipts/netlib-gb10-20261027/chip-h5-mutant4/c_sblat2.log new file mode 100644 index 0000000..28b790b --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h5-mutant4/c_sblat2.log @@ -0,0 +1,59 @@ +omega-blas test hooks: gemm_ex mutant 4 planted + cblas_sgemv PASSED THE TESTS OF ERROR-EXITS + TESTS OF THE REAL LEVEL 2 BLAS + + THE FOLLOWING PARAMETER VALUES WILL BE USED: + FOR N 0 1 2 3 5 9 + FOR K 0 1 2 4 + FOR INCX AND INCY 1 2 -1 -2 + FOR ALPHA 0.0 1.0 0.7 + FOR BETA 0.0 1.0 0.9 + + ROUTINES PASS COMPUTATIONAL TESTS IF TEST RATIO IS LESS THAN 16.00 + + COLUMN-MAJOR AND ROW-MAJOR DATA LAYOUTS ARE TESTED + + RELATIVE MACHINE PRECISION IS TAKEN TO BE 1.2E-07 + + + ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* + EXPECTED RESULT COMPUTED RESULT + 1 0.419880 0.00000 + 2 0.872128E-01 0.00000 + ******* cblas_sgemv FAILED ON CALL NUMBER: + 6: cblas_sgemv ( CblasNoTrans, 2, 1, 0.0, A, 3, X, 1, 0.9, Y, 1) . + ******* cblas_sgemv FAILED ON CALL NUMBER: + 4: cblas_sgemv ( CblasNoTrans, 2, 1, 0.0, A, 3, X, 1, 0.0, Y, 1) . + + cblas_sgbmv WAS NOT TESTED + + cblas_ssymv WAS NOT TESTED + + cblas_ssbmv WAS NOT TESTED + + cblas_sspmv WAS NOT TESTED + + cblas_strmv WAS NOT TESTED + + cblas_stbmv WAS NOT TESTED + + cblas_stpmv WAS NOT TESTED + + cblas_strsv WAS NOT TESTED + + cblas_stbsv WAS NOT TESTED + + cblas_stpsv WAS NOT TESTED + + cblas_sger WAS NOT TESTED + + cblas_ssyr WAS NOT TESTED + + cblas_sspr WAS NOT TESTED + + cblas_ssyr2 WAS NOT TESTED + + cblas_sspr2 WAS NOT TESTED + + END OF TESTS +omega-blas routes: device gb10 host 0 gb10 3 gb10_core_calls 0 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 diff --git a/receipts/netlib-gb10-20261027/chip-h5-mutant4/c_sblat3.log b/receipts/netlib-gb10-20261027/chip-h5-mutant4/c_sblat3.log new file mode 100644 index 0000000..442e142 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h5-mutant4/c_sblat3.log @@ -0,0 +1,40 @@ +omega-blas test hooks: gemm_ex mutant 4 planted + cblas_sgemm PASSED THE TESTS OF ERROR-EXITS + TESTS OF THE REAL LEVEL 3 BLAS + + THE FOLLOWING PARAMETER VALUES WILL BE USED: + FOR N 0 1 2 3 5 9 + FOR ALPHA 0.0 1.0 0.7 + FOR BETA 0.0 1.0 1.3 + + ROUTINES PASS COMPUTATIONAL TESTS IF TEST RATIO IS LESS THAN 16.00 + + COLUMN-MAJOR AND ROW-MAJOR DATA LAYOUTS ARE TESTED + + RELATIVE MACHINE PRECISION IS TAKEN TO BE 1.2E-07 + + + ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* + EXPECTED RESULT COMPUTED RESULT + 1 -0.185714 0.00000 + ******* cblas_sgemm FAILED ON CALL NUMBER: + 3405: cblas_sgemm ( CblasColMajor, CblasNoTrans, CblasNoTrans, + 1, 1, 0, 0.0, A, 2, B, 1, 1.3, C, 2). + ******* cblas_sgemm FAILED ON CALL NUMBER: + 3403: cblas_sgemm ( CblasRowMajor, CblasNoTrans, CblasNoTrans, + 1, 1, 0, 0.0, A, 2, B, 1, 0.0, C, 2). + + cblas_ssymm WAS NOT TESTED + + cblas_strmm WAS NOT TESTED + + cblas_strsm WAS NOT TESTED + + cblas_ssyrk WAS NOT TESTED + + cblas_ssyr2k WAS NOT TESTED + + cblas_sgemmtr WAS NOT TESTED + + END OF TESTS +omega-blas routes: device gb10 host 0 gb10 3 gb10_core_calls 0 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 diff --git a/receipts/netlib-gb10-20261027/chip-h5-mutant4/health.txt b/receipts/netlib-gb10-20261027/chip-h5-mutant4/health.txt new file mode 100644 index 0000000..0d4c1dc --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h5-mutant4/health.txt @@ -0,0 +1,3 @@ +health before: {"busy":false,"concurrency":8,"engine":"omega-qwen36-batch","in_flight":0,"model":"qwen3.6-35b-a3b-fp8","status":"ok","uptime_s":15477} +health after: {"busy":false,"concurrency":8,"engine":"omega-qwen36-batch","in_flight":0,"model":"qwen3.6-35b-a3b-fp8","status":"ok","uptime_s":15478} +exit 1 diff --git a/receipts/netlib-gb10-20261027/chip-h5-mutant4/run.log b/receipts/netlib-gb10-20261027/chip-h5-mutant4/run.log new file mode 100644 index 0000000..ef87809 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h5-mutant4/run.log @@ -0,0 +1,53 @@ +netlib: library $WORK/blas/build-gb10/libomegablas.so, device gb10 +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1801:32: + + 1801 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1484:32: + + 1484 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1124:32: + + 1124 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:813:32: + + 813 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:485:32: + + 485 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:91:32: + + 91 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +sblat2: wall .002302896 s +sblat2: omega-blas routes: device gb10 host 0 gb10 2 gb10_core_calls 0 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +sblat2: FAIL +16: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +20: ******* SGEMV FAILED ON CALL NUMBER: +sblat3: wall .003705401 s +sblat3: omega-blas routes: device gb10 host 0 gb10 2 gb10_core_calls 0 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +sblat3: FAIL +14: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +17: ******* SGEMM FAILED ON CALL NUMBER: +c_sblat2: wall .001964366 s +c_sblat2: omega-blas routes: device gb10 host 0 gb10 3 gb10_core_calls 0 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +c_sblat2: FAIL +19: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +23: ******* cblas_sgemv FAILED ON CALL NUMBER: +25: ******* cblas_sgemv FAILED ON CALL NUMBER: +c_sblat3: wall .004342126 s +c_sblat3: omega-blas routes: device gb10 host 0 gb10 3 gb10_core_calls 0 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +c_sblat3: FAIL +17: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +20: ******* cblas_sgemm FAILED ON CALL NUMBER: +23: ******* cblas_sgemm FAILED ON CALL NUMBER: diff --git a/receipts/netlib-gb10-20261027/chip-h5-mutant4/sblat2.log b/receipts/netlib-gb10-20261027/chip-h5-mutant4/sblat2.log new file mode 100644 index 0000000..57f3455 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h5-mutant4/sblat2.log @@ -0,0 +1,2 @@ +omega-blas test hooks: gemm_ex mutant 4 planted +omega-blas routes: device gb10 host 0 gb10 2 gb10_core_calls 0 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 diff --git a/receipts/netlib-gb10-20261027/chip-h5-mutant4/sblat2.out b/receipts/netlib-gb10-20261027/chip-h5-mutant4/sblat2.out new file mode 100644 index 0000000..755f035 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h5-mutant4/sblat2.out @@ -0,0 +1,53 @@ + TESTS OF THE REAL LEVEL 2 BLAS + + THE FOLLOWING PARAMETER VALUES WILL BE USED: + FOR N 0 1 2 3 5 9 + FOR K 0 1 2 4 + FOR INCX AND INCY 1 2 -1 -2 + FOR ALPHA 0.0 1.0 0.7 + FOR BETA 0.0 1.0 0.9 + + ROUTINES PASS COMPUTATIONAL TESTS IF TEST RATIO IS LESS THAN 16.00 + + RELATIVE MACHINE PRECISION IS TAKEN TO BE 1.2E-07 + + SGEMV PASSED THE TESTS OF ERROR-EXITS + + ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* + EXPECTED RESULT COMPUTED RESULT + 1 0.419880 0.00000 + 2 0.872128E-01 0.00000 + ******* SGEMV FAILED ON CALL NUMBER: + 6: SGEMV ('N', 2, 1, 0.0, A, 3, X, 1, 0.9, Y, 1) . + + SGBMV WAS NOT TESTED + + SSYMV WAS NOT TESTED + + SSBMV WAS NOT TESTED + + SSPMV WAS NOT TESTED + + STRMV WAS NOT TESTED + + STBMV WAS NOT TESTED + + STPMV WAS NOT TESTED + + STRSV WAS NOT TESTED + + STBSV WAS NOT TESTED + + STPSV WAS NOT TESTED + + SGER WAS NOT TESTED + + SSYR WAS NOT TESTED + + SSPR WAS NOT TESTED + + SSYR2 WAS NOT TESTED + + SSPR2 WAS NOT TESTED + + END OF TESTS diff --git a/receipts/netlib-gb10-20261027/chip-h5-mutant4/sblat3.log b/receipts/netlib-gb10-20261027/chip-h5-mutant4/sblat3.log new file mode 100644 index 0000000..57f3455 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h5-mutant4/sblat3.log @@ -0,0 +1,2 @@ +omega-blas test hooks: gemm_ex mutant 4 planted +omega-blas routes: device gb10 host 0 gb10 2 gb10_core_calls 0 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 diff --git a/receipts/netlib-gb10-20261027/chip-h5-mutant4/sblat3.out b/receipts/netlib-gb10-20261027/chip-h5-mutant4/sblat3.out new file mode 100644 index 0000000..a81ff5d --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h5-mutant4/sblat3.out @@ -0,0 +1,32 @@ + TESTS OF THE REAL LEVEL 3 BLAS + + THE FOLLOWING PARAMETER VALUES WILL BE USED: + FOR N 0 1 2 3 5 9 + FOR ALPHA 0.0 1.0 0.7 + FOR BETA 0.0 1.0 1.3 + + ROUTINES PASS COMPUTATIONAL TESTS IF TEST RATIO IS LESS THAN 16.00 + + RELATIVE MACHINE PRECISION IS TAKEN TO BE 1.2E-07 + + SGEMM PASSED THE TESTS OF ERROR-EXITS + + ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* + EXPECTED RESULT COMPUTED RESULT + 1 -0.185714 0.00000 + ******* SGEMM FAILED ON CALL NUMBER: + 3405: SGEMM ('N','N', 1, 1, 0, 0.0, A, 2, B, 1, 1.3, C, 2). + + SSYMM WAS NOT TESTED + + STRMM WAS NOT TESTED + + STRSM WAS NOT TESTED + + SSYRK WAS NOT TESTED + + SSYR2K WAS NOT TESTED + + SGEMMTR WAS NOT TESTED + + END OF TESTS diff --git a/receipts/netlib-gb10-20261027/chip-h6-strace/health-after.txt b/receipts/netlib-gb10-20261027/chip-h6-strace/health-after.txt new file mode 100644 index 0000000..9f37054 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h6-strace/health-after.txt @@ -0,0 +1 @@ +{"busy":false,"concurrency":8,"engine":"omega-qwen36-batch","in_flight":0,"model":"qwen3.6-35b-a3b-fp8","status":"ok","uptime_s":15490} \ No newline at end of file diff --git a/receipts/netlib-gb10-20261027/chip-h6-strace/health-before.txt b/receipts/netlib-gb10-20261027/chip-h6-strace/health-before.txt new file mode 100644 index 0000000..f575405 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h6-strace/health-before.txt @@ -0,0 +1 @@ +{"busy":false,"concurrency":8,"engine":"omega-qwen36-batch","in_flight":1,"model":"qwen3.6-35b-a3b-fp8","status":"ok","uptime_s":15487} \ No newline at end of file diff --git a/receipts/netlib-gb10-20261027/chip-h6-strace/sblat2.log b/receipts/netlib-gb10-20261027/chip-h6-strace/sblat2.log new file mode 100644 index 0000000..144c525 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h6-strace/sblat2.log @@ -0,0 +1 @@ +omega-blas routes: device gb10 host 0 gb10 3072 gb10_core_calls 2304 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 diff --git a/receipts/netlib-gb10-20261027/chip-h6-strace/sblat2.out b/receipts/netlib-gb10-20261027/chip-h6-strace/sblat2.out new file mode 100644 index 0000000..5350958 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h6-strace/sblat2.out @@ -0,0 +1,48 @@ + TESTS OF THE REAL LEVEL 2 BLAS + + THE FOLLOWING PARAMETER VALUES WILL BE USED: + FOR N 0 1 2 3 5 9 + FOR K 0 1 2 4 + FOR INCX AND INCY 1 2 -1 -2 + FOR ALPHA 0.0 1.0 0.7 + FOR BETA 0.0 1.0 0.9 + + ROUTINES PASS COMPUTATIONAL TESTS IF TEST RATIO IS LESS THAN 16.00 + + RELATIVE MACHINE PRECISION IS TAKEN TO BE 1.2E-07 + + SGEMV PASSED THE TESTS OF ERROR-EXITS + + SGEMV PASSED THE COMPUTATIONAL TESTS ( 3461 CALLS) + + SGBMV WAS NOT TESTED + + SSYMV WAS NOT TESTED + + SSBMV WAS NOT TESTED + + SSPMV WAS NOT TESTED + + STRMV WAS NOT TESTED + + STBMV WAS NOT TESTED + + STPMV WAS NOT TESTED + + STRSV WAS NOT TESTED + + STBSV WAS NOT TESTED + + STPSV WAS NOT TESTED + + SGER WAS NOT TESTED + + SSYR WAS NOT TESTED + + SSPR WAS NOT TESTED + + SSYR2 WAS NOT TESTED + + SSPR2 WAS NOT TESTED + + END OF TESTS diff --git a/receipts/netlib-gb10-20261027/chip-h6-strace/strace-summary.txt b/receipts/netlib-gb10-20261027/chip-h6-strace/strace-summary.txt new file mode 100644 index 0000000..d39cc48 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h6-strace/strace-summary.txt @@ -0,0 +1,16 @@ +# strace -f -qq -e trace=openat,ioctl ./sblat2 (OMEGABLAS_DEVICE=gb10); full trace 23147 lines, sha256 fdefc5073c91d92457e52cb48ccaf7cb8f8f8bbd3c2c536b04011fe2329d01f1 +## openat of /dev/nvidia* + 2 openat(AT_FDCWD, "/dev/nvidia0" + 2315 openat(AT_FDCWD, "/dev/nvidiactl" + 2 openat(AT_FDCWD, "/dev/nvidia-uvm" +## ioctl total +18508 +## top ioctl requests + 2324 ioctl(5, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x2b, 0x20) + 2315 ioctl(5, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x4e, 0x38) + 2314 ioctl(6, _IOC(_IOC_NONE, 0, 0x49, 0) + 2314 ioctl(6, _IOC(_IOC_NONE, 0, 0x21, 0) + 2314 ioctl(5, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x57, 0x40) + 2304 ioctl(6, _IOC(_IOC_NONE, 0, 0x22, 0) + 2304 ioctl(5, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x58, 0x30) + 2304 ioctl(5, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x29, 0x10) diff --git a/receipts/netlib-gb10-20261027/chip-h7-batched/health.txt b/receipts/netlib-gb10-20261027/chip-h7-batched/health.txt new file mode 100644 index 0000000..4505ccf --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h7-batched/health.txt @@ -0,0 +1,3 @@ +health before: {"busy":false,"concurrency":8,"engine":"omega-qwen36-batch","in_flight":0,"model":"qwen3.6-35b-a3b-fp8","status":"ok","uptime_s":15895} +health after: {"busy":false,"concurrency":8,"engine":"omega-qwen36-batch","in_flight":0,"model":"qwen3.6-35b-a3b-fp8","status":"ok","uptime_s":16234} +exit 0 diff --git a/receipts/netlib-gb10-20261027/chip-h7-batched/run.log b/receipts/netlib-gb10-20261027/chip-h7-batched/run.log new file mode 100644 index 0000000..db53e55 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h7-batched/run.log @@ -0,0 +1,2 @@ +gb10 batched: library $WORK/blas/build-gb10/libomegablas.so, device gb10 +batched: device gb10, 46 cases, 0 failed, largest ratio device route 1.116 (limit 5.70) host route 0.832 (limit 9.51), routes host 2 gb10 52 gb10_core_calls 108 diff --git a/receipts/netlib-gb10-20261027/chip-h8-batched-mutant2/health.txt b/receipts/netlib-gb10-20261027/chip-h8-batched-mutant2/health.txt new file mode 100644 index 0000000..06de670 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h8-batched-mutant2/health.txt @@ -0,0 +1,3 @@ +health before: {"busy":false,"concurrency":8,"engine":"omega-qwen36-batch","in_flight":0,"model":"qwen3.6-35b-a3b-fp8","status":"ok","uptime_s":16234} +health after: {"busy":false,"concurrency":8,"engine":"omega-qwen36-batch","in_flight":0,"model":"qwen3.6-35b-a3b-fp8","status":"ok","uptime_s":16235} +exit 1 diff --git a/receipts/netlib-gb10-20261027/chip-h8-batched-mutant2/run.log b/receipts/netlib-gb10-20261027/chip-h8-batched-mutant2/run.log new file mode 100644 index 0000000..4d20683 --- /dev/null +++ b/receipts/netlib-gb10-20261027/chip-h8-batched-mutant2/run.log @@ -0,0 +1,19 @@ +gb10 batched: library $WORK/blas/build-gb10/libomegablas.so, device gb10 +omega-blas test hooks: gemm_ex mutant 2 planted +FAIL strided col ta=1 tb=0 M=3 N=5 K=2 count=3: C(0,0) batch 0 = 0.127613798, ref 0.99799613141939147, ratio 7.32e+06 +FAIL strided col ta=1 tb=0 M=9 N=7 K=9 count=3: C(0,0) batch 0 = -2.26968288, ref -0.024241301775365542, ratio 5.55e+06 +FAIL strided col ta=1 tb=0 M=16 N=13 K=16 count=3: C(0,0) batch 0 = 1.85903668, ref -3.2289237830138511, ratio 9.91e+06 +FAIL strided col ta=1 tb=1 M=3 N=5 K=2 count=3: C(0,0) batch 0 = -0.194457501, ref -0.32390684457364216, ratio 7.36e+05 +FAIL strided col ta=1 tb=1 M=9 N=7 K=9 count=3: C(0,0) batch 0 = -0.716331065, ref -1.6529967732551256, ratio 2.67e+06 +FAIL strided col ta=1 tb=1 M=16 N=13 K=16 count=3: C(0,0) batch 0 = -0.501149952, ref 0.24578868715249413, ratio 1.09e+06 +FAIL strided row ta=0 tb=1 M=3 N=5 K=2 count=3: C(0,0) batch 0 = -0.335494429, ref -0.25203054228320809, ratio 7.83e+05 +FAIL strided row ta=0 tb=1 M=9 N=7 K=9 count=3: C(0,0) batch 0 = 1.41413677, ref 0.15735118677389082, ratio 4.7e+06 +FAIL strided row ta=0 tb=1 M=16 N=13 K=16 count=3: C(0,0) batch 0 = 0.35623771, ref -2.9365764295781354, ratio 4.61e+06 +FAIL strided row ta=1 tb=1 M=3 N=5 K=2 count=3: C(0,0) batch 0 = 0.365013719, ref -0.33887325885280006, ratio 4.87e+06 +FAIL strided row ta=1 tb=1 M=9 N=7 K=9 count=3: C(0,0) batch 0 = 0.441637158, ref 0.30450710904147371, ratio 4.9e+05 +FAIL strided row ta=1 tb=1 M=16 N=13 K=16 count=3: C(0,0) batch 0 = -0.888617635, ref -0.7993367998746308, ratio 1.91e+05 +FAIL overlap col ta=1 tb=0 M=9 N=7 K=9 count=3: C(0,0) batch 2 = -1.09324443, ref 0.74981507274012316, ratio 5.09e+06 +FAIL overlap row ta=0 tb=1 M=5 N=3 K=16 count=3: C(0,0) batch 2 = 1.21167076, ref 0.31649105528808619, ratio 1.76e+06 +FAIL pointer col ta=1 tb=0 M=9 N=7 K=9 count=3: C(0,0) batch 0 = -2.4028554, ref -0.5793094512101149, ratio 5.68e+06 +FAIL pointer row ta=0 tb=1 M=5 N=3 K=16 count=3: C(0,0) batch 0 = 1.58548951, ref 1.7685756615550901, ratio 3.04e+05 +batched: device gb10, 46 cases, 16 failed, largest ratio device route 606990237483905822965208874292871168.000 (limit 5.70) host route 0.832 (limit 9.51), routes host 2 gb10 52 gb10_core_calls 108 diff --git a/receipts/netlib-gb10-20261027/host/badenv.err b/receipts/netlib-gb10-20261027/host/badenv.err new file mode 100644 index 0000000..718dbd6 --- /dev/null +++ b/receipts/netlib-gb10-20261027/host/badenv.err @@ -0,0 +1,25 @@ +omega-blas: OMEGABLAS_DEVICE must be host or gb10, not cuda + +Program received signal SIGABRT: Process abort signal. + +Backtrace for this error: +#0 0xbffe8f6ba013 in ??? +#1 0xbffe8f6b98d7 in ??? +#2 0xfe7745560a5f in ??? +#3 0xfe77452c74d8 in __pthread_kill_implementation + at ./nptl/pthread_kill.c:44 +#4 0xfe774527cb3b in __GI_raise + at ../sysdeps/posix/raise.c:26 +#5 0xfe7745267dff in __GI_abort + at ./stdlib/abort.c:79 +#6 0xfe7745502463 in ??? +#7 0xfe7745502e7f in ??? +#8 0xbffe8f6ad40b in ??? +#9 0xbffe8f6b8767 in ??? +#10 0xbffe8f6b8e7f in ??? +#11 0xfe77452684c3 in __libc_start_call_main + at ../sysdeps/nptl/libc_start_call_main.h:58 +#12 0xfe7745268597 in __libc_start_main_impl + at ../csu/libc-start.c:360 +#13 0xbffe8f6a39af in ??? +#14 0xffffffffffffffff in ??? diff --git a/receipts/netlib-gb10-20261027/host/batched-default-host.log b/receipts/netlib-gb10-20261027/host/batched-default-host.log new file mode 100644 index 0000000..4a1f13c --- /dev/null +++ b/receipts/netlib-gb10-20261027/host/batched-default-host.log @@ -0,0 +1,2 @@ +gb10 batched: library $WORK/blas/build/libomegablas.so, device host +batched: device host, 46 cases, 0 failed, largest ratio device route 0.000 (limit 5.70) host route 1.330 (limit 9.51), routes host 134 gb10 0 gb10_core_calls 0 diff --git a/receipts/netlib-gb10-20261027/host/batched-gb10build-host.log b/receipts/netlib-gb10-20261027/host/batched-gb10build-host.log new file mode 100644 index 0000000..82b065b --- /dev/null +++ b/receipts/netlib-gb10-20261027/host/batched-gb10build-host.log @@ -0,0 +1,2 @@ +gb10 batched: library $WORK/blas/build-gb10/libomegablas.so, device host +batched: device host, 46 cases, 0 failed, largest ratio device route 0.000 (limit 5.70) host route 1.330 (limit 9.51), routes host 134 gb10 0 gb10_core_calls 0 diff --git a/receipts/netlib-gb10-20261027/host/batched-model-libmutant-opswap.log b/receipts/netlib-gb10-20261027/host/batched-model-libmutant-opswap.log new file mode 100644 index 0000000..38f655e --- /dev/null +++ b/receipts/netlib-gb10-20261027/host/batched-model-libmutant-opswap.log @@ -0,0 +1,6 @@ +gb10 batched: library $WORK/blas-mut/build-gb10/libomegablas.so, device gb10 +omega-blas test hooks: backend model (bw_hmma_model {16,2,RZ,nominal 2}) +FAIL strided col ta=0 tb=1 M=3 N=5 K=2 count=3: C(0,0) batch 0 = 0.466666609, ref 0.95288438762680272, ratio 2.89e+06 +FAIL strided col ta=0 tb=1 M=9 N=7 K=9 count=3: C(0,0) batch 0 = 1.78736436, ref 0.80767754579911255, ratio 3.46e+06 +omega-blas: omega_gpu_gemm_ex BAD_ARGS (-1) on m 16 n 13 k 16 batch 3: - +Aborted (core dumped) diff --git a/receipts/netlib-gb10-20261027/host/batched-model-libmutant-strideswap.log b/receipts/netlib-gb10-20261027/host/batched-model-libmutant-strideswap.log new file mode 100644 index 0000000..011483a --- /dev/null +++ b/receipts/netlib-gb10-20261027/host/batched-model-libmutant-strideswap.log @@ -0,0 +1,4 @@ +gb10 batched: library $WORK/blas-mut/build-gb10/libomegablas.so, device gb10 +omega-blas test hooks: backend model (bw_hmma_model {16,2,RZ,nominal 2}) +omega-blas: omega_gpu_gemm_ex BAD_ARGS (-1) on m 9 n 7 k 9 batch 3: - +Aborted (core dumped) diff --git a/receipts/netlib-gb10-20261027/host/batched-model-mutant1.log b/receipts/netlib-gb10-20261027/host/batched-model-mutant1.log new file mode 100644 index 0000000..f561ad5 --- /dev/null +++ b/receipts/netlib-gb10-20261027/host/batched-model-mutant1.log @@ -0,0 +1,40 @@ +gb10 batched: library $WORK/blas/build-gb10/libomegablas.so, device gb10 +omega-blas test hooks: backend model (bw_hmma_model {16,2,RZ,nominal 2}) +omega-blas test hooks: gemm_ex mutant 1 planted +FAIL strided col ta=0 tb=0 M=1 N=1 K=1 count=3: C(0,0) batch 0 = -0.0416273475, ref -0.028710030018167743, ratio 1.99e+06 +FAIL strided col ta=0 tb=0 M=3 N=5 K=2 count=3: C(0,0) batch 0 = -0.036112763, ref -0.19071427905246097, ratio 4.52e+06 +FAIL strided col ta=0 tb=0 M=9 N=7 K=9 count=3: C(0,0) batch 0 = 0.28449291, ref 0.21567978458669401, ratio 1.6e+05 +FAIL strided col ta=0 tb=0 M=16 N=13 K=16 count=3: C(0,0) batch 0 = 0.843154788, ref 1.1908151061489889, ratio 6.32e+05 +FAIL strided col ta=0 tb=1 M=1 N=1 K=1 count=3: C(0,0) batch 0 = 0.0958033204, ref 0.12544023119955128, ratio 1.98e+06 +FAIL strided col ta=0 tb=1 M=3 N=5 K=2 count=3: C(0,0) batch 0 = 0.439600646, ref 0.95288438762680272, ratio 3.05e+06 +FAIL strided col ta=0 tb=1 M=9 N=7 K=9 count=3: C(0,0) batch 0 = 0.754068851, ref 0.80767754579911255, ratio 1.9e+05 +FAIL strided col ta=0 tb=1 M=16 N=13 K=16 count=3: C(0,0) batch 0 = -0.993366182, ref 0.14519741068147596, ratio 1.46e+06 +FAIL strided col ta=1 tb=0 M=1 N=1 K=1 count=3: C(0,0) batch 0 = -0.615660489, ref -0.36111349145945582, ratio 2.45e+06 +FAIL strided col ta=1 tb=0 M=3 N=5 K=2 count=3: C(0,0) batch 0 = 0.443409383, ref 0.99799613141939147, ratio 4.66e+06 +FAIL strided col ta=1 tb=0 M=9 N=7 K=9 count=3: C(0,0) batch 0 = -0.0992227793, ref -0.024241301775365542, ratio 1.85e+05 +FAIL strided col ta=1 tb=0 M=16 N=13 K=16 count=3: C(0,0) batch 0 = -3.2267921, ref -3.2289237830138511, ratio 4.15e+03 +FAIL strided col ta=1 tb=1 M=1 N=1 K=1 count=3: C(0,0) batch 0 = -0.699684143, ref -0.19602438504154662, ratio 3.51e+06 +FAIL strided col ta=1 tb=1 M=3 N=5 K=2 count=3: C(0,0) batch 0 = -0.0261389762, ref -0.32390684457364216, ratio 1.69e+06 +FAIL strided col ta=1 tb=1 M=9 N=7 K=9 count=3: C(0,0) batch 0 = -1.59325957, ref -1.6529967732551256, ratio 1.7e+05 +FAIL strided col ta=1 tb=1 M=16 N=13 K=16 count=3: C(0,0) batch 0 = 0.0184459183, ref 0.24578868715249413, ratio 3.32e+05 +FAIL strided row ta=0 tb=0 M=1 N=1 K=1 count=3: C(0,0) batch 0 = -0.657435417, ref -0.48811687982711049, ratio 1.72e+06 +FAIL strided row ta=0 tb=0 M=3 N=5 K=2 count=3: C(0,0) batch 0 = 0.67985481, ref 1.0890689277337913, ratio 3.15e+06 +FAIL strided row ta=0 tb=0 M=9 N=7 K=9 count=3: C(0,0) batch 0 = 2.99227548, ref 2.8780554104565326, ratio 3.08e+05 +FAIL strided row ta=0 tb=0 M=16 N=13 K=16 count=3: C(0,0) batch 0 = 4.06838274, ref 4.0159703356575669, ratio 8.33e+04 +FAIL strided row ta=0 tb=1 M=1 N=1 K=1 count=3: C(0,0) batch 0 = 0.347824037, ref 0.83877310299131125, ratio 4.91e+06 +FAIL strided row ta=0 tb=1 M=3 N=5 K=2 count=3: C(0,0) batch 0 = -0.516075313, ref -0.25203054228320809, ratio 2.48e+06 +FAIL strided row ta=0 tb=1 M=9 N=7 K=9 count=3: C(0,0) batch 0 = 0.240751728, ref 0.15735118677389082, ratio 3.12e+05 +FAIL strided row ta=0 tb=1 M=16 N=13 K=16 count=3: C(0,0) batch 0 = -3.52158642, ref -2.9365764295781354, ratio 8.19e+05 +FAIL strided row ta=1 tb=0 M=1 N=1 K=1 count=3: C(0,0) batch 0 = 0.683972955, ref 0.59775620529468654, ratio 9.39e+05 +FAIL strided row ta=1 tb=0 M=3 N=5 K=2 count=3: C(0,0) batch 0 = -1.08331776, ref -0.9117978744611861, ratio 1.15e+06 +FAIL strided row ta=1 tb=0 M=9 N=7 K=9 count=3: C(0,0) batch 0 = 0.0693017766, ref 0.36694944576502664, ratio 8.13e+05 +FAIL strided row ta=1 tb=0 M=16 N=13 K=16 count=3: C(0,0) batch 0 = 0.758849263, ref 0.9985696448318393, ratio 3.36e+05 +FAIL strided row ta=1 tb=1 M=1 N=1 K=1 count=3: C(0,0) batch 0 = 0.0220097601, ref 0.015354292718381402, ratio 1.95e+06 +FAIL strided row ta=1 tb=1 M=3 N=5 K=2 count=3: C(0,0) batch 0 = 0.0389072075, ref -0.33887325885280006, ratio 2.61e+06 +FAIL strided row ta=1 tb=1 M=9 N=7 K=9 count=3: C(0,0) batch 0 = 0.32486558, ref 0.30450710904147371, ratio 7.28e+04 +FAIL strided row ta=1 tb=1 M=16 N=13 K=16 count=3: C(0,0) batch 0 = -0.740717232, ref -0.7993367998746308, ratio 1.26e+05 +FAIL overlap col ta=1 tb=0 M=9 N=7 K=9 count=3: C(0,0) batch 2 = 0.0460515358, ref 0.74981507274012316, ratio 1.95e+06 +FAIL overlap row ta=0 tb=1 M=5 N=3 K=16 count=3: C(0,0) batch 2 = 0.583818436, ref 0.31649105528808619, ratio 5.25e+05 +FAIL pointer col ta=1 tb=0 M=9 N=7 K=9 count=3: C(0,0) batch 0 = -0.43020004, ref -0.5793094512101149, ratio 4.64e+05 +FAIL pointer row ta=0 tb=1 M=5 N=3 K=16 count=3: C(0,0) batch 0 = 1.75043714, ref 1.7685756615550901, ratio 3.02e+04 +batched: device gb10, 46 cases, 36 failed, largest ratio device route 8381807.601 (limit 5.70) host route 0.832 (limit 9.51), routes host 2 gb10 52 gb10_core_calls 84 diff --git a/receipts/netlib-gb10-20261027/host/batched-model-mutant2.log b/receipts/netlib-gb10-20261027/host/batched-model-mutant2.log new file mode 100644 index 0000000..60f18ff --- /dev/null +++ b/receipts/netlib-gb10-20261027/host/batched-model-mutant2.log @@ -0,0 +1,20 @@ +gb10 batched: library $WORK/blas/build-gb10/libomegablas.so, device gb10 +omega-blas test hooks: backend model (bw_hmma_model {16,2,RZ,nominal 2}) +omega-blas test hooks: gemm_ex mutant 2 planted +FAIL strided col ta=1 tb=0 M=3 N=5 K=2 count=3: C(0,0) batch 0 = 0.127613798, ref 0.99799613141939147, ratio 7.32e+06 +FAIL strided col ta=1 tb=0 M=9 N=7 K=9 count=3: C(0,0) batch 0 = -2.26968288, ref -0.024241301775365542, ratio 5.55e+06 +FAIL strided col ta=1 tb=0 M=16 N=13 K=16 count=3: C(0,0) batch 0 = 1.85903668, ref -3.2289237830138511, ratio 9.91e+06 +FAIL strided col ta=1 tb=1 M=3 N=5 K=2 count=3: C(0,0) batch 0 = -0.194457501, ref -0.32390684457364216, ratio 7.36e+05 +FAIL strided col ta=1 tb=1 M=9 N=7 K=9 count=3: C(0,0) batch 0 = -0.716331065, ref -1.6529967732551256, ratio 2.67e+06 +FAIL strided col ta=1 tb=1 M=16 N=13 K=16 count=3: C(0,0) batch 0 = -0.501149952, ref 0.24578868715249413, ratio 1.09e+06 +FAIL strided row ta=0 tb=1 M=3 N=5 K=2 count=3: C(0,0) batch 0 = -0.335494429, ref -0.25203054228320809, ratio 7.83e+05 +FAIL strided row ta=0 tb=1 M=9 N=7 K=9 count=3: C(0,0) batch 0 = 1.41413677, ref 0.15735118677389082, ratio 4.7e+06 +FAIL strided row ta=0 tb=1 M=16 N=13 K=16 count=3: C(0,0) batch 0 = 0.35623771, ref -2.9365764295781354, ratio 4.61e+06 +FAIL strided row ta=1 tb=1 M=3 N=5 K=2 count=3: C(0,0) batch 0 = 0.365013719, ref -0.33887325885280006, ratio 4.87e+06 +FAIL strided row ta=1 tb=1 M=9 N=7 K=9 count=3: C(0,0) batch 0 = 0.441637158, ref 0.30450710904147371, ratio 4.9e+05 +FAIL strided row ta=1 tb=1 M=16 N=13 K=16 count=3: C(0,0) batch 0 = -0.888617635, ref -0.7993367998746308, ratio 1.91e+05 +FAIL overlap col ta=1 tb=0 M=9 N=7 K=9 count=3: C(0,0) batch 2 = -1.09324443, ref 0.74981507274012316, ratio 5.09e+06 +FAIL overlap row ta=0 tb=1 M=5 N=3 K=16 count=3: C(0,0) batch 2 = 1.21167076, ref 0.31649105528808619, ratio 1.76e+06 +FAIL pointer col ta=1 tb=0 M=9 N=7 K=9 count=3: C(0,0) batch 0 = -2.4028554, ref -0.5793094512101149, ratio 5.68e+06 +FAIL pointer row ta=0 tb=1 M=5 N=3 K=16 count=3: C(0,0) batch 0 = 1.58548951, ref 1.7685756615550901, ratio 3.04e+05 +batched: device gb10, 46 cases, 16 failed, largest ratio device route 183339005397004222154646385202298880.000 (limit 5.70) host route 0.832 (limit 9.51), routes host 2 gb10 52 gb10_core_calls 108 diff --git a/receipts/netlib-gb10-20261027/host/batched-model-mutant4.log b/receipts/netlib-gb10-20261027/host/batched-model-mutant4.log new file mode 100644 index 0000000..9b5ae76 --- /dev/null +++ b/receipts/netlib-gb10-20261027/host/batched-model-mutant4.log @@ -0,0 +1,46 @@ +gb10 batched: library $WORK/blas/build-gb10/libomegablas.so, device gb10 +omega-blas test hooks: backend model (bw_hmma_model {16,2,RZ,nominal 2}) +omega-blas test hooks: gemm_ex mutant 4 planted +FAIL strided col ta=0 tb=0 M=1 N=1 K=1 count=3: C(0,0) batch 0 = 0.0129173175, ref -0.028710030018167743, ratio 6.4e+06 +FAIL strided col ta=0 tb=0 M=3 N=5 K=2 count=3: C(0,0) batch 0 = -0.238686115, ref -0.19071427905246097, ratio 1.4e+06 +FAIL strided col ta=0 tb=0 M=9 N=7 K=9 count=3: C(0,0) batch 0 = 0.860757589, ref 0.21567978458669401, ratio 1.5e+06 +FAIL strided col ta=0 tb=0 M=16 N=13 K=16 count=3: C(0,0) batch 0 = 0.636805594, ref 1.1908151061489889, ratio 1.01e+06 +FAIL strided col ta=0 tb=0 M=4 N=6 K=0 count=3: C(0,0) batch 0 = 0, ref 0.69556814432144165, ratio 8.39e+06 +FAIL strided col ta=0 tb=1 M=1 N=1 K=1 count=3: C(0,0) batch 0 = 0.0296369102, ref 0.12544023119955128, ratio 6.41e+06 +FAIL strided col ta=0 tb=1 M=3 N=5 K=2 count=3: C(0,0) batch 0 = 0.284591168, ref 0.95288438762680272, ratio 3.98e+06 +FAIL strided col ta=0 tb=1 M=9 N=7 K=9 count=3: C(0,0) batch 0 = 0.585618377, ref 0.80767754579911255, ratio 7.85e+05 +FAIL strided col ta=0 tb=1 M=16 N=13 K=16 count=3: C(0,0) batch 0 = 0.857108891, ref 0.14519741068147596, ratio 9.13e+05 +FAIL strided col ta=0 tb=1 M=4 N=6 K=0 count=3: C(0,0) batch 0 = 0, ref 0.58278518915176392, ratio 8.39e+06 +FAIL strided col ta=1 tb=0 M=1 N=1 K=1 count=3: C(0,0) batch 0 = 0.25454697, ref -0.36111349145945582, ratio 5.93e+06 +FAIL strided col ta=1 tb=0 M=3 N=5 K=2 count=3: C(0,0) batch 0 = 0.819656253, ref 0.99799613141939147, ratio 1.5e+06 +FAIL strided col ta=1 tb=0 M=9 N=7 K=9 count=3: C(0,0) batch 0 = 0.32859683, ref -0.024241301775365542, ratio 8.71e+05 +FAIL strided col ta=1 tb=0 M=16 N=13 K=16 count=3: C(0,0) batch 0 = -2.47968674, ref -3.2289237830138511, ratio 1.46e+06 +FAIL strided col ta=1 tb=0 M=4 N=6 K=0 count=3: C(0,0) batch 0 = 0, ref 0.64055523276329041, ratio 8.39e+06 +FAIL strided col ta=1 tb=1 M=1 N=1 K=1 count=3: C(0,0) batch 0 = 0.503659785, ref -0.19602438504154662, ratio 4.88e+06 +FAIL strided col ta=1 tb=1 M=3 N=5 K=2 count=3: C(0,0) batch 0 = 0.27843523, ref -0.32390684457364216, ratio 3.42e+06 +FAIL strided col ta=1 tb=1 M=9 N=7 K=9 count=3: C(0,0) batch 0 = -1.45899761, ref -1.6529967732551256, ratio 5.53e+05 +FAIL strided col ta=1 tb=1 M=16 N=13 K=16 count=3: C(0,0) batch 0 = 0.138474926, ref 0.24578868715249413, ratio 1.57e+05 +FAIL strided col ta=1 tb=1 M=4 N=6 K=0 count=3: C(0,0) batch 0 = 0, ref -0.26151913404464722, ratio 8.39e+06 +FAIL strided row ta=0 tb=0 M=1 N=1 K=1 count=3: C(0,0) batch 0 = 0.169318557, ref -0.48811687982711049, ratio 6.67e+06 +FAIL strided row ta=0 tb=0 M=3 N=5 K=2 count=3: C(0,0) batch 0 = 0.450163424, ref 1.0890689277337913, ratio 4.92e+06 +FAIL strided row ta=0 tb=0 M=9 N=7 K=9 count=3: C(0,0) batch 0 = 2.3512454, ref 2.8780554104565326, ratio 1.42e+06 +FAIL strided row ta=0 tb=0 M=16 N=13 K=16 count=3: C(0,0) batch 0 = 3.58371377, ref 4.0159703356575669, ratio 6.87e+05 +FAIL strided row ta=0 tb=0 M=4 N=6 K=0 count=3: C(0,0) batch 0 = 0, ref 0.52804791927337646, ratio 8.39e+06 +FAIL strided row ta=0 tb=1 M=1 N=1 K=1 count=3: C(0,0) batch 0 = 0.490949035, ref 0.83877310299131125, ratio 3.48e+06 +FAIL strided row ta=0 tb=1 M=3 N=5 K=2 count=3: C(0,0) batch 0 = 0.321353316, ref -0.25203054228320809, ratio 5.38e+06 +FAIL strided row ta=0 tb=1 M=9 N=7 K=9 count=3: C(0,0) batch 0 = 0.284130692, ref 0.15735118677389082, ratio 4.74e+05 +FAIL strided row ta=0 tb=1 M=16 N=13 K=16 count=3: C(0,0) batch 0 = -2.5281775, ref -2.9365764295781354, ratio 5.72e+05 +FAIL strided row ta=0 tb=1 M=4 N=6 K=0 count=3: C(0,0) batch 0 = 0, ref -0.62814062833786011, ratio 8.39e+06 +FAIL strided row ta=1 tb=0 M=1 N=1 K=1 count=3: C(0,0) batch 0 = -0.0862167403, ref 0.59775620529468654, ratio 7.45e+06 +FAIL strided row ta=1 tb=0 M=3 N=5 K=2 count=3: C(0,0) batch 0 = -0.685923457, ref -0.9117978744611861, ratio 1.51e+06 +FAIL strided row ta=1 tb=0 M=9 N=7 K=9 count=3: C(0,0) batch 0 = 0.0783414319, ref 0.36694944576502664, ratio 7.88e+05 +FAIL strided row ta=1 tb=0 M=16 N=13 K=16 count=3: C(0,0) batch 0 = 1.49277377, ref 0.9985696448318393, ratio 6.93e+05 +FAIL strided row ta=1 tb=0 M=4 N=6 K=0 count=3: C(0,0) batch 0 = 0, ref 0.024545878171920776, ratio 8.39e+06 +FAIL strided row ta=1 tb=1 M=1 N=1 K=1 count=3: C(0,0) batch 0 = -0.00665546674, ref 0.015354292718381402, ratio 6.44e+06 +FAIL strided row ta=1 tb=1 M=3 N=5 K=2 count=3: C(0,0) batch 0 = 0.0595714822, ref -0.33887325885280006, ratio 2.75e+06 +FAIL strided row ta=1 tb=1 M=9 N=7 K=9 count=3: C(0,0) batch 0 = -0.128811091, ref 0.30450710904147371, ratio 1.55e+06 +FAIL strided row ta=1 tb=1 M=16 N=13 K=16 count=3: C(0,0) batch 0 = -0.590985656, ref -0.7993367998746308, ratio 4.47e+05 +FAIL strided row ta=1 tb=1 M=4 N=6 K=0 count=3: C(0,0) batch 0 = 0, ref 0.45984578132629395, ratio 8.39e+06 +FAIL pointer col ta=1 tb=0 M=9 N=7 K=9 count=3: C(0,0) batch 0 = 0.00171246007, ref -0.5793094512101149, ratio 1.81e+06 +FAIL pointer row ta=0 tb=1 M=5 N=3 K=16 count=3: C(0,0) batch 0 = 1.56488967, ref 1.7685756615550901, ratio 3.39e+05 +batched: device gb10, 46 cases, 42 failed, largest ratio device route 8388608.000 (limit 5.70) host route 0.832 (limit 9.51), routes host 2 gb10 52 gb10_core_calls 108 diff --git a/receipts/netlib-gb10-20261027/host/batched-model-mutant5.log b/receipts/netlib-gb10-20261027/host/batched-model-mutant5.log new file mode 100644 index 0000000..f1ab838 --- /dev/null +++ b/receipts/netlib-gb10-20261027/host/batched-model-mutant5.log @@ -0,0 +1,4 @@ +gb10 batched: library $WORK/blas/build-gb10/libomegablas.so, device gb10 +omega-blas test hooks: backend model (bw_hmma_model {16,2,RZ,nominal 2}) +omega-blas test hooks: gemm_ex mutant 5 planted +batched: device gb10, 46 cases, 0 failed, largest ratio device route 1.116 (limit 5.70) host route 0.832 (limit 9.51), routes host 2 gb10 52 gb10_core_calls 108 diff --git a/receipts/netlib-gb10-20261027/host/batched-model.log b/receipts/netlib-gb10-20261027/host/batched-model.log new file mode 100644 index 0000000..708dad9 --- /dev/null +++ b/receipts/netlib-gb10-20261027/host/batched-model.log @@ -0,0 +1,3 @@ +gb10 batched: library $WORK/blas/build-gb10/libomegablas.so, device gb10 +omega-blas test hooks: backend model (bw_hmma_model {16,2,RZ,nominal 2}) +batched: device gb10, 46 cases, 0 failed, largest ratio device route 1.116 (limit 5.70) host route 0.832 (limit 9.51), routes host 2 gb10 52 gb10_core_calls 108 diff --git a/receipts/netlib-gb10-20261027/host/fetch-neg.log b/receipts/netlib-gb10-20261027/host/fetch-neg.log new file mode 100644 index 0000000..5cb6140 --- /dev/null +++ b/receipts/netlib-gb10-20261027/host/fetch-neg.log @@ -0,0 +1,2 @@ +fetchneg/lapack-3.12.1.tar.gz: FAILED +sha256sum: WARNING: 1 computed checksum did NOT match diff --git a/receipts/netlib-gb10-20261027/host/fetch.log b/receipts/netlib-gb10-20261027/host/fetch.log new file mode 100644 index 0000000..35e3b70 --- /dev/null +++ b/receipts/netlib-gb10-20261027/host/fetch.log @@ -0,0 +1,2 @@ +fetchtest/lapack-3.12.1.tar.gz: OK +LAPACK=$WORK/fetchtest/lapack-3.12.1 diff --git a/receipts/netlib-gb10-20261027/host/gb10build-hostmode.log b/receipts/netlib-gb10-20261027/host/gb10build-hostmode.log new file mode 100644 index 0000000..cce863d --- /dev/null +++ b/receipts/netlib-gb10-20261027/host/gb10build-hostmode.log @@ -0,0 +1,45 @@ +netlib: library $WORK/blas/build-gb10/libomegablas.so, device host +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1801:32: + + 1801 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1484:32: + + 1484 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1124:32: + + 1124 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:813:32: + + 813 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:485:32: + + 485 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:91:32: + + 91 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +sblat2: PASS + SGEMV PASSED THE TESTS OF ERROR-EXITS + SGEMV PASSED THE COMPUTATIONAL TESTS ( 3461 CALLS) +sblat3: PASS + SGEMM PASSED THE TESTS OF ERROR-EXITS + SGEMM PASSED THE COMPUTATIONAL TESTS ( 17496 CALLS) +c_sblat2: PASS + cblas_sgemv PASSED THE TESTS OF ERROR-EXITS + cblas_sgemv PASSED THE COLUMN-MAJOR COMPUTATIONAL TESTS ( 3460 CALLS) + cblas_sgemv PASSED THE ROW-MAJOR COMPUTATIONAL TESTS ( 3460 CALLS) +c_sblat3: PASS + cblas_sgemm PASSED THE TESTS OF ERROR-EXITS + cblas_sgemm PASSED THE COLUMN-MAJOR COMPUTATIONAL TESTS ( 17496 CALLS) + cblas_sgemm PASSED THE ROW-MAJOR COMPUTATIONAL TESTS ( 17496 CALLS) diff --git a/receipts/netlib-gb10-20261027/host/host-default.log b/receipts/netlib-gb10-20261027/host/host-default.log new file mode 100644 index 0000000..91f5066 --- /dev/null +++ b/receipts/netlib-gb10-20261027/host/host-default.log @@ -0,0 +1,45 @@ +netlib: library $WORK/blas/build/libomegablas.so, device host +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1801:32: + + 1801 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1484:32: + + 1484 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1124:32: + + 1124 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:813:32: + + 813 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:485:32: + + 485 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:91:32: + + 91 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +sblat2: PASS + SGEMV PASSED THE TESTS OF ERROR-EXITS + SGEMV PASSED THE COMPUTATIONAL TESTS ( 3461 CALLS) +sblat3: PASS + SGEMM PASSED THE TESTS OF ERROR-EXITS + SGEMM PASSED THE COMPUTATIONAL TESTS ( 17496 CALLS) +c_sblat2: PASS + cblas_sgemv PASSED THE TESTS OF ERROR-EXITS + cblas_sgemv PASSED THE COLUMN-MAJOR COMPUTATIONAL TESTS ( 3460 CALLS) + cblas_sgemv PASSED THE ROW-MAJOR COMPUTATIONAL TESTS ( 3460 CALLS) +c_sblat3: PASS + cblas_sgemm PASSED THE TESTS OF ERROR-EXITS + cblas_sgemm PASSED THE COLUMN-MAJOR COMPUTATIONAL TESTS ( 17496 CALLS) + cblas_sgemm PASSED THE ROW-MAJOR COMPUTATIONAL TESTS ( 17496 CALLS) diff --git a/receipts/netlib-gb10-20261027/host/host-final.log b/receipts/netlib-gb10-20261027/host/host-final.log new file mode 100644 index 0000000..16c95b1 --- /dev/null +++ b/receipts/netlib-gb10-20261027/host/host-final.log @@ -0,0 +1,49 @@ +netlib: library $WORK/blas/build/libomegablas.so, device host +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1801:32: + + 1801 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1484:32: + + 1484 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1124:32: + + 1124 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:813:32: + + 813 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:485:32: + + 485 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:91:32: + + 91 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +sblat2: wall .021503879 s +sblat2: PASS + SGEMV PASSED THE TESTS OF ERROR-EXITS + SGEMV PASSED THE COMPUTATIONAL TESTS ( 3461 CALLS) +sblat3: wall .065920929 s +sblat3: PASS + SGEMM PASSED THE TESTS OF ERROR-EXITS + SGEMM PASSED THE COMPUTATIONAL TESTS ( 17496 CALLS) +c_sblat2: wall .029516775 s +c_sblat2: PASS + cblas_sgemv PASSED THE TESTS OF ERROR-EXITS + cblas_sgemv PASSED THE COLUMN-MAJOR COMPUTATIONAL TESTS ( 3460 CALLS) + cblas_sgemv PASSED THE ROW-MAJOR COMPUTATIONAL TESTS ( 3460 CALLS) +c_sblat3: wall .180020020 s +c_sblat3: PASS + cblas_sgemm PASSED THE TESTS OF ERROR-EXITS + cblas_sgemm PASSED THE COLUMN-MAJOR COMPUTATIONAL TESTS ( 17496 CALLS) + cblas_sgemm PASSED THE ROW-MAJOR COMPUTATIONAL TESTS ( 17496 CALLS) diff --git a/receipts/netlib-gb10-20261027/host/host-thresh0.log b/receipts/netlib-gb10-20261027/host/host-thresh0.log new file mode 100644 index 0000000..252dfc3 --- /dev/null +++ b/receipts/netlib-gb10-20261027/host/host-thresh0.log @@ -0,0 +1,45 @@ +netlib: library $WORK/blas/build/libomegablas.so, device host, THRESH 0.0 (measurement) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1801:32: + + 1801 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1484:32: + + 1484 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1124:32: + + 1124 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:813:32: + + 813 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:485:32: + + 485 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:91:32: + + 91 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +sblat2: SGEMV PASSED THE TESTS OF ERROR-EXITS +sblat2: ******* BUT WITH MAXIMUM TEST RATIO 1.48 - SUSPECT ******* +sblat2: measured (THRESH 0.0) +sblat3: SGEMM PASSED THE TESTS OF ERROR-EXITS +sblat3: ******* BUT WITH MAXIMUM TEST RATIO 0.00 - SUSPECT ******* +sblat3: measured (THRESH 0.0) +c_sblat2: cblas_sgemv PASSED THE TESTS OF ERROR-EXITS +c_sblat2: ******* BUT WITH MAXIMUM TEST RATIO 1.48 - SUSPECT ******* +c_sblat2: ******* BUT WITH MAXIMUM TEST RATIO 1.51 - SUSPECT ******* +c_sblat2: measured (THRESH 0.0) +c_sblat3: cblas_sgemm PASSED THE TESTS OF ERROR-EXITS +c_sblat3: ******* BUT WITH MAXIMUM TEST RATIO 0.00 - SUSPECT ******* +c_sblat3: ******* BUT WITH MAXIMUM TEST RATIO 0.00 - SUSPECT ******* +c_sblat3: measured (THRESH 0.0) diff --git a/receipts/netlib-gb10-20261027/host/host-timing.log b/receipts/netlib-gb10-20261027/host/host-timing.log new file mode 100644 index 0000000..fe0b51e --- /dev/null +++ b/receipts/netlib-gb10-20261027/host/host-timing.log @@ -0,0 +1,49 @@ +netlib: library $WORK/blas/build/libomegablas.so, device host +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1801:32: + + 1801 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1484:32: + + 1484 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1124:32: + + 1124 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:813:32: + + 813 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:485:32: + + 485 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:91:32: + + 91 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +sblat2: wall .022252934 s +sblat2: PASS + SGEMV PASSED THE TESTS OF ERROR-EXITS + SGEMV PASSED THE COMPUTATIONAL TESTS ( 3461 CALLS) +sblat3: wall .102663845 s +sblat3: PASS + SGEMM PASSED THE TESTS OF ERROR-EXITS + SGEMM PASSED THE COMPUTATIONAL TESTS ( 17496 CALLS) +c_sblat2: wall .044187466 s +c_sblat2: PASS + cblas_sgemv PASSED THE TESTS OF ERROR-EXITS + cblas_sgemv PASSED THE COLUMN-MAJOR COMPUTATIONAL TESTS ( 3460 CALLS) + cblas_sgemv PASSED THE ROW-MAJOR COMPUTATIONAL TESTS ( 3460 CALLS) +c_sblat3: wall .215653279 s +c_sblat3: PASS + cblas_sgemm PASSED THE TESTS OF ERROR-EXITS + cblas_sgemm PASSED THE COLUMN-MAJOR COMPUTATIONAL TESTS ( 17496 CALLS) + cblas_sgemm PASSED THE ROW-MAJOR COMPUTATIONAL TESTS ( 17496 CALLS) diff --git a/receipts/netlib-gb10-20261027/host/libmutant-opswap.diff b/receipts/netlib-gb10-20261027/host/libmutant-opswap.diff new file mode 100644 index 0000000..0ff04b0 --- /dev/null +++ b/receipts/netlib-gb10-20261027/host/libmutant-opswap.diff @@ -0,0 +1,2 @@ +212a213 +> { int t = x.op_a; x.op_a = x.op_b; x.op_b = t; } /* MUTANT: op(A) and op(B) swapped */ diff --git a/receipts/netlib-gb10-20261027/host/libmutant-strideswap.txt b/receipts/netlib-gb10-20261027/host/libmutant-strideswap.txt new file mode 100644 index 0000000..e7cf18f --- /dev/null +++ b/receipts/netlib-gb10-20261027/host/libmutant-strideswap.txt @@ -0,0 +1 @@ +stride-swap mutant: lines 202/205 x.stride_a = sa; x.stride_b = sb (swapped); built and run before the op-swap mutant replaced it diff --git a/receipts/netlib-gb10-20261027/host/model-device.log b/receipts/netlib-gb10-20261027/host/model-device.log new file mode 100644 index 0000000..8930c6e --- /dev/null +++ b/receipts/netlib-gb10-20261027/host/model-device.log @@ -0,0 +1,49 @@ +netlib: library $WORK/blas/build-gb10/libomegablas.so, device gb10 +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1801:32: + + 1801 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1484:32: + + 1484 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1124:32: + + 1124 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:813:32: + + 813 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:485:32: + + 485 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:91:32: + + 91 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +sblat2: omega-blas routes: device gb10 host 0 gb10 3072 gb10_core_calls 2304 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +sblat2: PASS + SGEMV PASSED THE TESTS OF ERROR-EXITS + SGEMV PASSED THE COMPUTATIONAL TESTS ( 3461 CALLS) +sblat3: omega-blas routes: device gb10 host 0 gb10 10350 gb10_core_calls 6750 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +sblat3: PASS + SGEMM PASSED THE TESTS OF ERROR-EXITS + SGEMM PASSED THE COMPUTATIONAL TESTS ( 17496 CALLS) +c_sblat2: omega-blas routes: device gb10 host 0 gb10 6144 gb10_core_calls 4608 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +c_sblat2: PASS + cblas_sgemv PASSED THE TESTS OF ERROR-EXITS + cblas_sgemv PASSED THE COLUMN-MAJOR COMPUTATIONAL TESTS ( 3460 CALLS) + cblas_sgemv PASSED THE ROW-MAJOR COMPUTATIONAL TESTS ( 3460 CALLS) +c_sblat3: omega-blas routes: device gb10 host 0 gb10 20700 gb10_core_calls 13500 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +c_sblat3: PASS + cblas_sgemm PASSED THE TESTS OF ERROR-EXITS + cblas_sgemm PASSED THE COLUMN-MAJOR COMPUTATIONAL TESTS ( 17496 CALLS) + cblas_sgemm PASSED THE ROW-MAJOR COMPUTATIONAL TESTS ( 17496 CALLS) diff --git a/receipts/netlib-gb10-20261027/host/model-mutant1.log b/receipts/netlib-gb10-20261027/host/model-mutant1.log new file mode 100644 index 0000000..b806a0d --- /dev/null +++ b/receipts/netlib-gb10-20261027/host/model-mutant1.log @@ -0,0 +1,49 @@ +netlib: library $WORK/blas/build-gb10/libomegablas.so, device gb10 +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1801:32: + + 1801 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1484:32: + + 1484 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1124:32: + + 1124 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:813:32: + + 813 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:485:32: + + 485 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:91:32: + + 91 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +sblat2: omega-blas routes: device gb10 host 0 gb10 3 gb10_core_calls 0 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +sblat2: FAIL +16: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +20: ******* SGEMV FAILED ON CALL NUMBER: +sblat3: omega-blas routes: device gb10 host 0 gb10 57 gb10_core_calls 0 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +sblat3: FAIL +14: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +17: ******* SGEMM FAILED ON CALL NUMBER: +c_sblat2: omega-blas routes: device gb10 host 0 gb10 4 gb10_core_calls 0 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +c_sblat2: FAIL +20: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +24: ******* cblas_sgemv FAILED ON CALL NUMBER: +26: ******* cblas_sgemv FAILED ON CALL NUMBER: +c_sblat3: omega-blas routes: device gb10 host 0 gb10 58 gb10_core_calls 0 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +c_sblat3: FAIL +18: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +21: ******* cblas_sgemm FAILED ON CALL NUMBER: +24: ******* cblas_sgemm FAILED ON CALL NUMBER: diff --git a/receipts/netlib-gb10-20261027/host/model-thresh0.log b/receipts/netlib-gb10-20261027/host/model-thresh0.log new file mode 100644 index 0000000..0ff5929 --- /dev/null +++ b/receipts/netlib-gb10-20261027/host/model-thresh0.log @@ -0,0 +1,49 @@ +netlib: library $WORK/blas/build-gb10/libomegablas.so, device gb10, THRESH 0.0 (measurement) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1801:32: + + 1801 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1484:32: + + 1484 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1124:32: + + 1124 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:813:32: + + 813 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:485:32: + + 485 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +../lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:91:32: + + 91 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +sblat2: omega-blas routes: device gb10 host 0 gb10 3072 gb10_core_calls 2304 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +sblat2: SGEMV PASSED THE TESTS OF ERROR-EXITS +sblat2: ******* BUT WITH MAXIMUM TEST RATIO 1.61 - SUSPECT ******* +sblat2: measured (THRESH 0.0) +sblat3: omega-blas routes: device gb10 host 0 gb10 10350 gb10_core_calls 6750 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +sblat3: SGEMM PASSED THE TESTS OF ERROR-EXITS +sblat3: ******* BUT WITH MAXIMUM TEST RATIO 1.87 - SUSPECT ******* +sblat3: measured (THRESH 0.0) +c_sblat2: omega-blas routes: device gb10 host 0 gb10 6144 gb10_core_calls 4608 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +c_sblat2: cblas_sgemv PASSED THE TESTS OF ERROR-EXITS +c_sblat2: ******* BUT WITH MAXIMUM TEST RATIO 1.61 - SUSPECT ******* +c_sblat2: ******* BUT WITH MAXIMUM TEST RATIO 1.61 - SUSPECT ******* +c_sblat2: measured (THRESH 0.0) +c_sblat3: omega-blas routes: device gb10 host 0 gb10 20700 gb10_core_calls 13500 gb10_host_fixed 0 cudapp b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5 +c_sblat3: cblas_sgemm PASSED THE TESTS OF ERROR-EXITS +c_sblat3: ******* BUT WITH MAXIMUM TEST RATIO 1.87 - SUSPECT ******* +c_sblat3: ******* BUT WITH MAXIMUM TEST RATIO 1.87 - SUSPECT ******* +c_sblat3: measured (THRESH 0.0) diff --git a/receipts/netlib-gb10-20261027/host/unbuilt-gb10.err b/receipts/netlib-gb10-20261027/host/unbuilt-gb10.err new file mode 100644 index 0000000..4ec527c --- /dev/null +++ b/receipts/netlib-gb10-20261027/host/unbuilt-gb10.err @@ -0,0 +1,25 @@ +omega-blas: OMEGABLAS_DEVICE=gb10, but this library was built without the GB10 path (make GB10=1) + +Program received signal SIGABRT: Process abort signal. + +Backtrace for this error: +#0 0xac0b39f6a013 in ??? +#1 0xac0b39f698d7 in ??? +#2 0xf20adf97aa5f in ??? +#3 0xf20adf6d74d8 in __pthread_kill_implementation + at ./nptl/pthread_kill.c:44 +#4 0xf20adf68cb3b in __GI_raise + at ../sysdeps/posix/raise.c:26 +#5 0xf20adf677dff in __GI_abort + at ./stdlib/abort.c:79 +#6 0xf20adf91242f in ??? +#7 0xf20adf912e7f in ??? +#8 0xac0b39f5d40b in ??? +#9 0xac0b39f68767 in ??? +#10 0xac0b39f68e7f in ??? +#11 0xf20adf6784c3 in __libc_start_call_main + at ../sysdeps/nptl/libc_start_call_main.h:58 +#12 0xf20adf678597 in __libc_start_main_impl + at ../csu/libc-start.c:360 +#13 0xac0b39f539af in ??? +#14 0xffffffffffffffff in ??? diff --git a/receipts/netlib-gb10-20261031.md b/receipts/netlib-gb10-20261031.md new file mode 100644 index 0000000..81a30ba --- /dev/null +++ b/receipts/netlib-gb10-20261031.md @@ -0,0 +1,49 @@ +# netlib GB10 rerun against CUDApp#214 (2026-10-31) + +Add-only receipt. The 2026-10-27 receipt (`netlib-gb10-20261027.md`, CUDApp `b28372d1`) stands. + +## Pins +- CUDApp `f95dca375cfff93d69f3ca0fb89c66da43c54036` (aien-dev/CUDApp#214, branch + `feat/gemm-ex-general-clean`): the tree of #139 head `117d8d7114ab641bdb31c57a4066abd0de86e4e4` + as one commit on CUDApp main `e7cc7d69`. Not merged; PINS must move to the CUDApp main merge commit + after #214 merges. `libomega_gpu.a` built position-independent with + `CUDAPP_MIGRATION_PENDING_GEMM_EX=1`, sha256 `8220235ad2718d8af8ee7f9ae9368cd3830c43db79793a45f5a778919916b52f`. +- omega-blas built with `make GB10=1 CUDAPP= BRIDGE= OMC=... OMC2=...` + (`build-gb10.log`, exit 0). Every route line in the logs prints `cudapp f95dca37…`. +- LAPACK v3.12.1 decks, `tests/netlib/run.sh` and `tests/gb10/run.sh` as in this tree. + +## Arms +One spark-window, `20261031T120437Z-0a94e5` (chip lock shared, verdict "quiet machine"), all +arms with `OMB_BUILD=build-gb10 OMEGABLAS_DEVICE=gb10`. Exit codes from `arms.txt`. + +| arm | change | expected | exit | +|---|---|---|---| +| h2-gate | none: stock decks, THRESH 16.0, the gate | PASS | 0 | +| h3-thresh0 | `THRESH=0.0` (measurement) | measure | 0 | +| h4-mutant1 | `OMB_TEST_MUTANT=1` | FAIL | 1 | +| h5-mutant2 | `OMB_TEST_MUTANT=2` | FAIL | 1 | +| h5-mutant4 | `OMB_TEST_MUTANT=4` | FAIL | 1 | +| h7-batched | `tests/gb10/run.sh` on the chip | PASS | 0 | +| h8-batched-mutant2 | batched, `OMB_TEST_MUTANT=2` | FAIL | 1 | + +- h2: SGEMM 17496 calls column- and row-major PASSED; routes gb10 only (`host 0`). +- h3 largest ratios: SGEMV 1.61 (sblat2, c_sblat2), SGEMM 1.87 (sblat3, c_sblat3); same as the + 2026-10-27 run for SGEMV. Below the deck THRESH 16.0 and the derived bound 11.2 (docs/TOLERANCE.md). +- h7: 46 cases, 0 failed, largest ratio device 1.116 (limit 5.70), host 0.832 (limit 9.51). +- h8: 16 of 46 failed (ratio up to 7.5e+23): the mutant is caught. +- The mutant arms fail on `cblas_sgemm FAILED ON CALL NUMBER` in every deck that runs SGEMM. + +## Not shown +- `health-before.txt` / `health-after.txt` are empty: nothing answered on 127.0.0.1:18091 during + the window (no server on that port at that time). The run did not touch that port. +- NOT_RUN: k > 16 device numerics beyond the decks; hardware qualification; performance. + +## Pin move to the CUDApp main merge (2026-10-31) +CUDApp#214 merged as `7a2c384fa41566d9444d0da3186456ad049075fa` (parents e7cc7d69, f95dca37); +`git diff f95dca37 7a2c384f` is empty, so the chip arms above stand for the merged tree. PINS cudapp +now names `7a2c384f`. Host checks after the move (`build-gb10-7a2c.log`, exit 0): +- HMMA model backend (`OMB_TEST_BACKEND=model GB10_HOOKS=`), netlib decks: + exit 0; every route line prints `cudapp 7a2c384fa41566d9444d0da3186456ad049075fa` + (`model-device-7a2c.log`). +- Same with `OMB_TEST_MUTANT=2`: exit 1 (`model-mut2-7a2c.log`). +- NOT_RUN: a chip rerun at 7a2c384f (same tree as the chip arms above). diff --git a/receipts/netlib-gb10-20261031/arms.txt b/receipts/netlib-gb10-20261031/arms.txt new file mode 100644 index 0000000..027e5ab --- /dev/null +++ b/receipts/netlib-gb10-20261031/arms.txt @@ -0,0 +1,7 @@ +h2-gate exit 0 +h3-thresh0 exit 0 +h4-mutant1 exit 1 +h5-mutant2 exit 1 +h5-mutant4 exit 1 +h7-batched exit 0 +h8-batched-mutant2 exit 1 diff --git a/receipts/netlib-gb10-20261031/build-gb10-7a2c.log b/receipts/netlib-gb10-20261031/build-gb10-7a2c.log new file mode 100644 index 0000000..de4bd7e --- /dev/null +++ b/receipts/netlib-gb10-20261031/build-gb10-7a2c.log @@ -0,0 +1,8 @@ +make -C /tmp/cb/CUDApp OUT_DIR=build/omegablas-pic CC="cc -fPIC" build/omegablas-pic/libomega_gpu.a +make[1]: Entering directory '/tmp/cb/CUDApp' +make[1]: 'build/omegablas-pic/libomega_gpu.a' is up to date. +make[1]: Leaving directory '/tmp/cb/CUDApp' +mkdir -p build-gb10 +cc -std=gnu11 -O2 -Wall -Wextra -Werror -fPIC -shared -Wl,-soname,libomegablas.so \ + -Iinclude -Ibuild/native -include build/native/omega_native.h -DOMB_GB10 -I/tmp/cb/CUDApp/src -DOMB_CUDAPP_REV='"7a2c384fa41566d9444d0da3186456ad049075fa"' -o build-gb10/libomegablas.so src/omegablas.c \ + build/native/omega_native.c /tmp/cb/CUDApp/build/omegablas-pic/libomega_gpu.a -lm -lpthread diff --git a/receipts/netlib-gb10-20261031/build-gb10.log b/receipts/netlib-gb10-20261031/build-gb10.log new file mode 100644 index 0000000..c0acaee --- /dev/null +++ b/receipts/netlib-gb10-20261031/build-gb10.log @@ -0,0 +1,20 @@ +make -C /tmp/cb/CUDApp OUT_DIR=build/omegablas-pic CC="cc -fPIC" build/omegablas-pic/libomega_gpu.a +make[1]: Entering directory '/tmp/cb/CUDApp' +cc -fPIC -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -DCUDAPP_MIGRATION_PENDING_GEMM_EX=1 -c src/omega_gpu_decode_graph.c -o build/omegablas-pic/omega_gpu_decode_graph.o +cc -fPIC -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -DCUDAPP_MIGRATION_PENDING_GEMM_EX=1 -c src/omega_gpu_fp8_api.c -o build/omegablas-pic/omega_gpu_fp8_api.o +cc -fPIC -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -DCUDAPP_MIGRATION_PENDING_GEMM_EX=1 -c src/omega_gpu_fp8_pack.c -o build/omegablas-pic/omega_gpu_fp8_pack.o +cc -fPIC -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -DCUDAPP_MIGRATION_PENDING_GEMM_EX=1 -c src/omega_gpu_fp8_slots.c -o build/omegablas-pic/omega_gpu_fp8_slots.o +cc -fPIC -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -DCUDAPP_MIGRATION_PENDING_GEMM_EX=1 -c src/omega_gpu_fp8gemm_api.c -o build/omegablas-pic/omega_gpu_fp8gemm_api.o +cc -fPIC -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -DCUDAPP_MIGRATION_PENDING_GEMM_EX=1 -c src/omega_gpu_gemm.c -o build/omegablas-pic/omega_gpu_gemm.o +cc -fPIC -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -DCUDAPP_MIGRATION_PENDING_GEMM_EX=1 -c src/omega_gpu_gemm_ex.c -o build/omegablas-pic/omega_gpu_gemm_ex.o +cc -fPIC -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -DCUDAPP_MIGRATION_PENDING_GEMM_EX=1 -c src/omega_gpu_pfgemm.c -o build/omegablas-pic/omega_gpu_pfgemm.o +cc -fPIC -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -DCUDAPP_MIGRATION_PENDING_GEMM_EX=1 -c src/omega_gpu_q36_graph.c -o build/omegablas-pic/omega_gpu_q36_graph.o +cc -fPIC -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -DCUDAPP_MIGRATION_PENDING_GEMM_EX=1 -c src/omega_gpu_q38_graph.c -o build/omegablas-pic/omega_gpu_q38_graph.o +cc -fPIC -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -DCUDAPP_MIGRATION_PENDING_GEMM_EX=1 -c src/omega_gpu_router_api.c -o build/omegablas-pic/omega_gpu_router_api.o +cc -fPIC -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -DCUDAPP_MIGRATION_PENDING_GEMM_EX=1 -c src/omega_gpu_tcgemm_api.c -o build/omegablas-pic/omega_gpu_tcgemm_api.o +ar rcs build/omegablas-pic/libomega_gpu.a build/omegablas-pic/omega_blackwell_codegen.o build/omegablas-pic/omega_blackwell_codegen_attn.o build/omegablas-pic/omega_blackwell_codegen_attn256.o build/omegablas-pic/omega_blackwell_codegen_bf16.o build/omegablas-pic/omega_blackwell_codegen_dec.o build/omegablas-pic/omega_blackwell_codegen_gdn.o build/omegablas-pic/omega_blackwell_codegen_gemm.o build/omegablas-pic/omega_blackwell_codegen_moe.o build/omegablas-pic/omega_blackwell_codegen_moe2.o build/omegablas-pic/omega_blackwell_codegen_pattn.o build/omegablas-pic/omega_blackwell_codegen_pattn256.o build/omegablas-pic/omega_blackwell_codegen_pf.o build/omegablas-pic/omega_blackwell_codegen_pfhost.o build/omegablas-pic/omega_blackwell_codegen_qg.o build/omegablas-pic/omega_blackwell_codegen_qmma.o build/omegablas-pic/omega_blackwell_codegen_router.o build/omegablas-pic/omega_blackwell_codegen_tc.o build/omegablas-pic/omega_blackwell_codegen_tc2.o build/omegablas-pic/omega_blackwell_codegen_tern.o build/omegablas-pic/omega_blackwell_encoder.o build/omegablas-pic/omega_blackwell_engine.o build/omegablas-pic/omega_blackwell_matmul.o build/omegablas-pic/omega_blackwell_qmd.o build/omegablas-pic/omega_blackwell_realize.o build/omegablas-pic/omega_blackwell_submit.o build/omegablas-pic/omega_gpu_attention_api.o build/omegablas-pic/omega_gpu_bf16_gemv_api.o build/omegablas-pic/omega_gpu_chip.o build/omegablas-pic/omega_gpu_cmdlist.o build/omegablas-pic/omega_gpu_decode_attn256_api.o build/omegablas-pic/omega_gpu_decode_attn_api.o build/omegablas-pic/omega_gpu_decode_graph.o build/omegablas-pic/omega_gpu_elementwise_api.o build/omegablas-pic/omega_gpu_engine.o build/omegablas-pic/omega_gpu_fmt.o build/omegablas-pic/omega_gpu_fp8_api.o build/omegablas-pic/omega_gpu_fp8_pack.o build/omegablas-pic/omega_gpu_fp8_slots.o build/omegablas-pic/omega_gpu_fp8gemm_api.o build/omegablas-pic/omega_gpu_gdn_api.o build/omegablas-pic/omega_gpu_gemm.o build/omegablas-pic/omega_gpu_gemm_ex.o build/omegablas-pic/omega_gpu_hostmath.o build/omegablas-pic/omega_gpu_matmul_api.o build/omegablas-pic/omega_gpu_mem_cached.o build/omegablas-pic/omega_gpu_moe_api.o build/omegablas-pic/omega_gpu_pfgemm.o build/omegablas-pic/omega_gpu_pfhost.o build/omegablas-pic/omega_gpu_platform.o build/omegablas-pic/omega_gpu_platform_linux.o build/omegablas-pic/omega_gpu_prefill.o build/omegablas-pic/omega_gpu_prefill_attn256_api.o build/omegablas-pic/omega_gpu_prefill_attn_api.o build/omegablas-pic/omega_gpu_q36_graph.o build/omegablas-pic/omega_gpu_q38_graph.o build/omegablas-pic/omega_gpu_router_api.o build/omegablas-pic/omega_gpu_scan.o build/omegablas-pic/omega_gpu_scan_ref.o build/omegablas-pic/omega_gpu_serving.o build/omegablas-pic/omega_gpu_session.o build/omegablas-pic/omega_gpu_tcgemm_api.o build/omegablas-pic/omega_gpu_tern_api.o build/omegablas-pic/omega_gpu_wait.o build/omegablas-pic/omega_fp8_slot_table.o build/omegablas-pic/omega_cubin.o build/omegablas-pic/omega_native_artifact.o build/omegablas-pic/omega_sm121_disasm.o build/omegablas-pic/sha256.o build/omegablas-pic/omega_canonical.o build/omegablas-pic/omega_core.o build/omegablas-pic/omega_vector.o build/omegablas-pic/cudapp_om_units.o build/omegablas-pic/cudapp_freest_units.o build/omegablas-pic/m16_native.o build/omegablas-pic/nvrm.o +make[1]: Leaving directory '/tmp/cb/CUDApp' +mkdir -p build-gb10 +cc -std=gnu11 -O2 -Wall -Wextra -Werror -fPIC -shared -Wl,-soname,libomegablas.so \ + -Iinclude -Ibuild/native -include build/native/omega_native.h -DOMB_GB10 -I/tmp/cb/CUDApp/src -DOMB_CUDAPP_REV='"f95dca375cfff93d69f3ca0fb89c66da43c54036"' -o build-gb10/libomegablas.so src/omegablas.c \ + build/native/omega_native.c /tmp/cb/CUDApp/build/omegablas-pic/libomega_gpu.a -lm -lpthread diff --git a/receipts/netlib-gb10-20261031/h2-gate.log b/receipts/netlib-gb10-20261031/h2-gate.log new file mode 100644 index 0000000..69659d0 --- /dev/null +++ b/receipts/netlib-gb10-20261031/h2-gate.log @@ -0,0 +1,53 @@ +netlib: library /tmp/cb/omega-blas/build-gb10/libomegablas.so, device gb10 +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1801:32: + + 1801 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1484:32: + + 1484 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1124:32: + + 1124 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:813:32: + + 813 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:485:32: + + 485 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:91:32: + + 91 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +sblat2: wall 1.282192406 s +sblat2: omega-blas routes: device gb10 host 0 gb10 3072 gb10_core_calls 2304 gb10_host_fixed 0 cudapp f95dca375cfff93d69f3ca0fb89c66da43c54036 +sblat2: PASS + SGEMV PASSED THE TESTS OF ERROR-EXITS + SGEMV PASSED THE COMPUTATIONAL TESTS ( 3461 CALLS) +sblat3: wall 8.916410080 s +sblat3: omega-blas routes: device gb10 host 0 gb10 10350 gb10_core_calls 6750 gb10_host_fixed 0 cudapp f95dca375cfff93d69f3ca0fb89c66da43c54036 +sblat3: PASS + SGEMM PASSED THE TESTS OF ERROR-EXITS + SGEMM PASSED THE COMPUTATIONAL TESTS ( 17496 CALLS) +c_sblat2: wall 24.878274375 s +c_sblat2: omega-blas routes: device gb10 host 0 gb10 6144 gb10_core_calls 4608 gb10_host_fixed 0 cudapp f95dca375cfff93d69f3ca0fb89c66da43c54036 +c_sblat2: PASS + cblas_sgemv PASSED THE TESTS OF ERROR-EXITS + cblas_sgemv PASSED THE COLUMN-MAJOR COMPUTATIONAL TESTS ( 3460 CALLS) + cblas_sgemv PASSED THE ROW-MAJOR COMPUTATIONAL TESTS ( 3460 CALLS) +c_sblat3: wall 73.204007933 s +c_sblat3: omega-blas routes: device gb10 host 0 gb10 20700 gb10_core_calls 13500 gb10_host_fixed 0 cudapp f95dca375cfff93d69f3ca0fb89c66da43c54036 +c_sblat3: PASS + cblas_sgemm PASSED THE TESTS OF ERROR-EXITS + cblas_sgemm PASSED THE COLUMN-MAJOR COMPUTATIONAL TESTS ( 17496 CALLS) + cblas_sgemm PASSED THE ROW-MAJOR COMPUTATIONAL TESTS ( 17496 CALLS) diff --git a/receipts/netlib-gb10-20261031/h3-thresh0.log b/receipts/netlib-gb10-20261031/h3-thresh0.log new file mode 100644 index 0000000..620b715 --- /dev/null +++ b/receipts/netlib-gb10-20261031/h3-thresh0.log @@ -0,0 +1,53 @@ +netlib: library /tmp/cb/omega-blas/build-gb10/libomegablas.so, device gb10, THRESH 0.0 (measurement) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1801:32: + + 1801 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1484:32: + + 1484 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1124:32: + + 1124 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:813:32: + + 813 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:485:32: + + 485 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:91:32: + + 91 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +sblat2: wall 13.222322847 s +sblat2: omega-blas routes: device gb10 host 0 gb10 3072 gb10_core_calls 2304 gb10_host_fixed 0 cudapp f95dca375cfff93d69f3ca0fb89c66da43c54036 +sblat2: SGEMV PASSED THE TESTS OF ERROR-EXITS +sblat2: ******* BUT WITH MAXIMUM TEST RATIO 1.61 - SUSPECT ******* +sblat2: measured (THRESH 0.0) +sblat3: wall 36.045131733 s +sblat3: omega-blas routes: device gb10 host 0 gb10 10350 gb10_core_calls 6750 gb10_host_fixed 0 cudapp f95dca375cfff93d69f3ca0fb89c66da43c54036 +sblat3: SGEMM PASSED THE TESTS OF ERROR-EXITS +sblat3: ******* BUT WITH MAXIMUM TEST RATIO 1.87 - SUSPECT ******* +sblat3: measured (THRESH 0.0) +c_sblat2: wall 24.571845942 s +c_sblat2: omega-blas routes: device gb10 host 0 gb10 6144 gb10_core_calls 4608 gb10_host_fixed 0 cudapp f95dca375cfff93d69f3ca0fb89c66da43c54036 +c_sblat2: cblas_sgemv PASSED THE TESTS OF ERROR-EXITS +c_sblat2: ******* BUT WITH MAXIMUM TEST RATIO 1.61 - SUSPECT ******* +c_sblat2: ******* BUT WITH MAXIMUM TEST RATIO 1.61 - SUSPECT ******* +c_sblat2: measured (THRESH 0.0) +c_sblat3: wall 77.289396009 s +c_sblat3: omega-blas routes: device gb10 host 0 gb10 20700 gb10_core_calls 13500 gb10_host_fixed 0 cudapp f95dca375cfff93d69f3ca0fb89c66da43c54036 +c_sblat3: cblas_sgemm PASSED THE TESTS OF ERROR-EXITS +c_sblat3: ******* BUT WITH MAXIMUM TEST RATIO 1.87 - SUSPECT ******* +c_sblat3: ******* BUT WITH MAXIMUM TEST RATIO 1.87 - SUSPECT ******* +c_sblat3: measured (THRESH 0.0) diff --git a/receipts/netlib-gb10-20261031/h4-mutant1.log b/receipts/netlib-gb10-20261031/h4-mutant1.log new file mode 100644 index 0000000..ede93e2 --- /dev/null +++ b/receipts/netlib-gb10-20261031/h4-mutant1.log @@ -0,0 +1,53 @@ +netlib: library /tmp/cb/omega-blas/build-gb10/libomegablas.so, device gb10 +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1801:32: + + 1801 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1484:32: + + 1484 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1124:32: + + 1124 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:813:32: + + 813 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:485:32: + + 485 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:91:32: + + 91 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +sblat2: wall .004682121 s +sblat2: omega-blas routes: device gb10 host 0 gb10 3 gb10_core_calls 0 gb10_host_fixed 0 cudapp f95dca375cfff93d69f3ca0fb89c66da43c54036 +sblat2: FAIL +16: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +20: ******* SGEMV FAILED ON CALL NUMBER: +sblat3: wall .005609217 s +sblat3: omega-blas routes: device gb10 host 0 gb10 57 gb10_core_calls 0 gb10_host_fixed 0 cudapp f95dca375cfff93d69f3ca0fb89c66da43c54036 +sblat3: FAIL +14: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +17: ******* SGEMM FAILED ON CALL NUMBER: +c_sblat2: wall .003835586 s +c_sblat2: omega-blas routes: device gb10 host 0 gb10 4 gb10_core_calls 0 gb10_host_fixed 0 cudapp f95dca375cfff93d69f3ca0fb89c66da43c54036 +c_sblat2: FAIL +19: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +23: ******* cblas_sgemv FAILED ON CALL NUMBER: +25: ******* cblas_sgemv FAILED ON CALL NUMBER: +c_sblat3: wall .004354550 s +c_sblat3: omega-blas routes: device gb10 host 0 gb10 58 gb10_core_calls 0 gb10_host_fixed 0 cudapp f95dca375cfff93d69f3ca0fb89c66da43c54036 +c_sblat3: FAIL +17: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +20: ******* cblas_sgemm FAILED ON CALL NUMBER: +23: ******* cblas_sgemm FAILED ON CALL NUMBER: diff --git a/receipts/netlib-gb10-20261031/h5-mutant2.log b/receipts/netlib-gb10-20261031/h5-mutant2.log new file mode 100644 index 0000000..49adc80 --- /dev/null +++ b/receipts/netlib-gb10-20261031/h5-mutant2.log @@ -0,0 +1,53 @@ +netlib: library /tmp/cb/omega-blas/build-gb10/libomegablas.so, device gb10 +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1801:32: + + 1801 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1484:32: + + 1484 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1124:32: + + 1124 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:813:32: + + 813 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:485:32: + + 485 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:91:32: + + 91 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +sblat2: wall .809684779 s +sblat2: omega-blas routes: device gb10 host 0 gb10 131 gb10_core_calls 97 gb10_host_fixed 0 cudapp f95dca375cfff93d69f3ca0fb89c66da43c54036 +sblat2: FAIL +16: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +19: ******* SGEMV FAILED ON CALL NUMBER: +sblat3: wall .473074376 s +sblat3: omega-blas routes: device gb10 host 0 gb10 153 gb10_core_calls 73 gb10_host_fixed 0 cudapp f95dca375cfff93d69f3ca0fb89c66da43c54036 +sblat3: FAIL +14: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +17: ******* SGEMM FAILED ON CALL NUMBER: +c_sblat2: wall .613460735 s +c_sblat2: omega-blas routes: device gb10 host 0 gb10 132 gb10_core_calls 97 gb10_host_fixed 0 cudapp f95dca375cfff93d69f3ca0fb89c66da43c54036 +c_sblat2: FAIL +19: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +22: ******* cblas_sgemv FAILED ON CALL NUMBER: +24: ******* cblas_sgemv FAILED ON CALL NUMBER: +c_sblat3: wall .510700448 s +c_sblat3: omega-blas routes: device gb10 host 0 gb10 154 gb10_core_calls 73 gb10_host_fixed 0 cudapp f95dca375cfff93d69f3ca0fb89c66da43c54036 +c_sblat3: FAIL +17: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +20: ******* cblas_sgemm FAILED ON CALL NUMBER: +23: ******* cblas_sgemm FAILED ON CALL NUMBER: diff --git a/receipts/netlib-gb10-20261031/h5-mutant4.log b/receipts/netlib-gb10-20261031/h5-mutant4.log new file mode 100644 index 0000000..8ba209e --- /dev/null +++ b/receipts/netlib-gb10-20261031/h5-mutant4.log @@ -0,0 +1,53 @@ +netlib: library /tmp/cb/omega-blas/build-gb10/libomegablas.so, device gb10 +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1801:32: + + 1801 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1484:32: + + 1484 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1124:32: + + 1124 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:813:32: + + 813 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:485:32: + + 485 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:91:32: + + 91 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +sblat2: wall .006640121 s +sblat2: omega-blas routes: device gb10 host 0 gb10 2 gb10_core_calls 0 gb10_host_fixed 0 cudapp f95dca375cfff93d69f3ca0fb89c66da43c54036 +sblat2: FAIL +16: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +20: ******* SGEMV FAILED ON CALL NUMBER: +sblat3: wall .005139629 s +sblat3: omega-blas routes: device gb10 host 0 gb10 2 gb10_core_calls 0 gb10_host_fixed 0 cudapp f95dca375cfff93d69f3ca0fb89c66da43c54036 +sblat3: FAIL +14: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +17: ******* SGEMM FAILED ON CALL NUMBER: +c_sblat2: wall .003869377 s +c_sblat2: omega-blas routes: device gb10 host 0 gb10 3 gb10_core_calls 0 gb10_host_fixed 0 cudapp f95dca375cfff93d69f3ca0fb89c66da43c54036 +c_sblat2: FAIL +19: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +23: ******* cblas_sgemv FAILED ON CALL NUMBER: +25: ******* cblas_sgemv FAILED ON CALL NUMBER: +c_sblat3: wall .007078541 s +c_sblat3: omega-blas routes: device gb10 host 0 gb10 3 gb10_core_calls 0 gb10_host_fixed 0 cudapp f95dca375cfff93d69f3ca0fb89c66da43c54036 +c_sblat3: FAIL +17: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +20: ******* cblas_sgemm FAILED ON CALL NUMBER: +23: ******* cblas_sgemm FAILED ON CALL NUMBER: diff --git a/receipts/netlib-gb10-20261031/h7-batched.log b/receipts/netlib-gb10-20261031/h7-batched.log new file mode 100644 index 0000000..da59448 --- /dev/null +++ b/receipts/netlib-gb10-20261031/h7-batched.log @@ -0,0 +1,2 @@ +gb10 batched: library /tmp/cb/omega-blas/build-gb10/libomegablas.so, device gb10 +batched: device gb10, 46 cases, 0 failed, largest ratio device route 1.116 (limit 5.70) host route 0.832 (limit 9.51), routes host 2 gb10 52 gb10_core_calls 108 diff --git a/receipts/netlib-gb10-20261031/h8-batched-mutant2.log b/receipts/netlib-gb10-20261031/h8-batched-mutant2.log new file mode 100644 index 0000000..a283c78 --- /dev/null +++ b/receipts/netlib-gb10-20261031/h8-batched-mutant2.log @@ -0,0 +1,19 @@ +gb10 batched: library /tmp/cb/omega-blas/build-gb10/libomegablas.so, device gb10 +omega-blas test hooks: gemm_ex mutant 2 planted +FAIL strided col ta=1 tb=0 M=3 N=5 K=2 count=3: C(0,0) batch 0 = 0.127613798, ref 0.99799613141939147, ratio 7.32e+06 +FAIL strided col ta=1 tb=0 M=9 N=7 K=9 count=3: C(0,0) batch 0 = -2.26968288, ref -0.024241301775365542, ratio 5.55e+06 +FAIL strided col ta=1 tb=0 M=16 N=13 K=16 count=3: C(0,0) batch 0 = 1.85903668, ref -3.2289237830138511, ratio 9.91e+06 +FAIL strided col ta=1 tb=1 M=3 N=5 K=2 count=3: C(0,0) batch 0 = -0.194457501, ref -0.32390684457364216, ratio 7.36e+05 +FAIL strided col ta=1 tb=1 M=9 N=7 K=9 count=3: C(0,0) batch 0 = -0.716331065, ref -1.6529967732551256, ratio 2.67e+06 +FAIL strided col ta=1 tb=1 M=16 N=13 K=16 count=3: C(0,0) batch 0 = -0.501149952, ref 0.24578868715249413, ratio 1.09e+06 +FAIL strided row ta=0 tb=1 M=3 N=5 K=2 count=3: C(0,0) batch 0 = -0.335494429, ref -0.25203054228320809, ratio 7.83e+05 +FAIL strided row ta=0 tb=1 M=9 N=7 K=9 count=3: C(0,0) batch 0 = 1.41413677, ref 0.15735118677389082, ratio 4.7e+06 +FAIL strided row ta=0 tb=1 M=16 N=13 K=16 count=3: C(0,0) batch 0 = 0.35623771, ref -2.9365764295781354, ratio 4.61e+06 +FAIL strided row ta=1 tb=1 M=3 N=5 K=2 count=3: C(0,0) batch 0 = 0.365013719, ref -0.33887325885280006, ratio 4.87e+06 +FAIL strided row ta=1 tb=1 M=9 N=7 K=9 count=3: C(0,0) batch 0 = 0.441637158, ref 0.30450710904147371, ratio 4.9e+05 +FAIL strided row ta=1 tb=1 M=16 N=13 K=16 count=3: C(0,0) batch 0 = -0.888617635, ref -0.7993367998746308, ratio 1.91e+05 +FAIL overlap col ta=1 tb=0 M=9 N=7 K=9 count=3: C(0,0) batch 2 = -1.09324443, ref 0.74981507274012316, ratio 5.09e+06 +FAIL overlap row ta=0 tb=1 M=5 N=3 K=16 count=3: C(0,0) batch 2 = 1.21167076, ref 0.31649105528808619, ratio 1.76e+06 +FAIL pointer col ta=1 tb=0 M=9 N=7 K=9 count=3: C(0,0) batch 0 = -2.4028554, ref -0.5793094512101149, ratio 5.68e+06 +FAIL pointer row ta=0 tb=1 M=5 N=3 K=16 count=3: C(0,0) batch 0 = 4.52480715e+17, ref 1.7685756615550901, ratio 7.52e+23 +batched: device gb10, 46 cases, 16 failed, largest ratio device route 752167496652141512097792.000 (limit 5.70) host route 0.832 (limit 9.51), routes host 2 gb10 52 gb10_core_calls 108 diff --git a/receipts/netlib-gb10-20261031/model-device-7a2c.log b/receipts/netlib-gb10-20261031/model-device-7a2c.log new file mode 100644 index 0000000..2a5476e --- /dev/null +++ b/receipts/netlib-gb10-20261031/model-device-7a2c.log @@ -0,0 +1,53 @@ +netlib: library /tmp/cb/omega-blas/build-gb10/libomegablas.so, device gb10 +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1801:32: + + 1801 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1484:32: + + 1484 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1124:32: + + 1124 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:813:32: + + 813 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:485:32: + + 485 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:91:32: + + 91 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +sblat2: wall .030445762 s +sblat2: omega-blas routes: device gb10 host 0 gb10 3072 gb10_core_calls 2304 gb10_host_fixed 0 cudapp 7a2c384fa41566d9444d0da3186456ad049075fa +sblat2: PASS + SGEMV PASSED THE TESTS OF ERROR-EXITS + SGEMV PASSED THE COMPUTATIONAL TESTS ( 3461 CALLS) +sblat3: wall .122589808 s +sblat3: omega-blas routes: device gb10 host 0 gb10 10350 gb10_core_calls 6750 gb10_host_fixed 0 cudapp 7a2c384fa41566d9444d0da3186456ad049075fa +sblat3: PASS + SGEMM PASSED THE TESTS OF ERROR-EXITS + SGEMM PASSED THE COMPUTATIONAL TESTS ( 17496 CALLS) +c_sblat2: wall .053644451 s +c_sblat2: omega-blas routes: device gb10 host 0 gb10 6144 gb10_core_calls 4608 gb10_host_fixed 0 cudapp 7a2c384fa41566d9444d0da3186456ad049075fa +c_sblat2: PASS + cblas_sgemv PASSED THE TESTS OF ERROR-EXITS + cblas_sgemv PASSED THE COLUMN-MAJOR COMPUTATIONAL TESTS ( 3460 CALLS) + cblas_sgemv PASSED THE ROW-MAJOR COMPUTATIONAL TESTS ( 3460 CALLS) +c_sblat3: wall .227042396 s +c_sblat3: omega-blas routes: device gb10 host 0 gb10 20700 gb10_core_calls 13500 gb10_host_fixed 0 cudapp 7a2c384fa41566d9444d0da3186456ad049075fa +c_sblat3: PASS + cblas_sgemm PASSED THE TESTS OF ERROR-EXITS + cblas_sgemm PASSED THE COLUMN-MAJOR COMPUTATIONAL TESTS ( 17496 CALLS) + cblas_sgemm PASSED THE ROW-MAJOR COMPUTATIONAL TESTS ( 17496 CALLS) diff --git a/receipts/netlib-gb10-20261031/model-mut2-7a2c.log b/receipts/netlib-gb10-20261031/model-mut2-7a2c.log new file mode 100644 index 0000000..481d4ad --- /dev/null +++ b/receipts/netlib-gb10-20261031/model-mut2-7a2c.log @@ -0,0 +1,53 @@ +netlib: library /tmp/cb/omega-blas/build-gb10/libomegablas.so, device gb10 +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1801:32: + + 1801 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1484:32: + + 1484 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:1124:32: + + 1124 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:813:32: + + 813 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:485:32: + + 485 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +/home/drakestapleton/work/BlasGpu/lapack/lapack-3.12.1/CBLAS/testing/c_sblat3.f:91:32: + + 91 | COMMON /INFOC/INFOT, NOUTC, OK + | 1 +Warning: Named COMMON block ‘infoc’ at (1) shall be of the same size as elsewhere (12 vs 16 bytes) +sblat2: wall .010274940 s +sblat2: omega-blas routes: device gb10 host 0 gb10 131 gb10_core_calls 97 gb10_host_fixed 0 cudapp 7a2c384fa41566d9444d0da3186456ad049075fa +sblat2: FAIL +16: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +19: ******* SGEMV FAILED ON CALL NUMBER: +sblat3: wall .005338608 s +sblat3: omega-blas routes: device gb10 host 0 gb10 153 gb10_core_calls 73 gb10_host_fixed 0 cudapp 7a2c384fa41566d9444d0da3186456ad049075fa +sblat3: FAIL +14: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +17: ******* SGEMM FAILED ON CALL NUMBER: +c_sblat2: wall .004187654 s +c_sblat2: omega-blas routes: device gb10 host 0 gb10 132 gb10_core_calls 97 gb10_host_fixed 0 cudapp 7a2c384fa41566d9444d0da3186456ad049075fa +c_sblat2: FAIL +20: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +23: ******* cblas_sgemv FAILED ON CALL NUMBER: +25: ******* cblas_sgemv FAILED ON CALL NUMBER: +c_sblat3: wall .006577483 s +c_sblat3: omega-blas routes: device gb10 host 0 gb10 154 gb10_core_calls 73 gb10_host_fixed 0 cudapp 7a2c384fa41566d9444d0da3186456ad049075fa +c_sblat3: FAIL +18: ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE ******* +21: ******* cblas_sgemm FAILED ON CALL NUMBER: +24: ******* cblas_sgemm FAILED ON CALL NUMBER: diff --git a/src/omegablas.c b/src/omegablas.c index 68602e4..e106747 100644 --- a/src/omegablas.c +++ b/src/omegablas.c @@ -17,6 +17,10 @@ #include #include "omega_api.h" +#ifdef OMB_GB10 +#include "omega_gpu_gemm_ex.h" +#include "omega_gpu_session.h" +#endif /* The CBLAS reference test drivers read and write these two globals (c_xerbla.c). */ int RowMajorStrg = 0; @@ -140,6 +144,163 @@ static int64_t chk_gemm(char ta, char tb, int64_t m, int64_t n, int64_t k, int64 return (int64_t)gemm_info(&c); } +/* ---- device routing (README.md, "GB10 device path") ---- + * MIGRATION-PENDING C, build switch OMB_GB10 (make GB10=1; the default build has no device code). + * The dispatch to CUDApp omega_gpu_gemm_ex stays C because an Omega unit cannot call a C entry + * point; its named successor is a unit-to-unit Omega call into CUDApp's src/omega_gpu_gemm_ex.om + * (docs/EXTENSIONS.md). Argument checks and the gemv gather/scatter stay in the Omega unit. */ + +static int omb_dev = -1; /* -1: OMEGABLAS_DEVICE not read yet */ +static omb_route_counts omb_counts; + +static void omb_die(const char *what, const char *detail) +{ + fprintf(stderr, "omega-blas: %s%s\n", what, detail ? detail : ""); + abort(); +} + +/* lock held */ +static int dev_gb10(void) +{ + if (omb_dev < 0) { + const char *e = getenv("OMEGABLAS_DEVICE"); + if (!e || !*e || !strcmp(e, "host")) omb_dev = OMB_DEVICE_HOST; +#ifdef OMB_GB10 + else if (!strcmp(e, "gb10")) omb_dev = OMB_DEVICE_GB10; +#else + else if (!strcmp(e, "gb10")) omb_die("OMEGABLAS_DEVICE=gb10, but this library was built without the GB10 path (make GB10=1)", NULL); +#endif + else omb_die("OMEGABLAS_DEVICE must be host or gb10, not ", e); + } + return omb_dev == OMB_DEVICE_GB10; +} + +#ifdef OMB_GB10 +/* count column-major products C_b (m x n, ldc) = alpha op(A_b) op(B_b) + beta C_b at element strides + * sa, sb, sc (all >= 0, C batches disjoint), as gemm_ex's row-major C^T = op(B)^T op(A)^T: column-major + * storage of B, A and C is row-major storage of their transposes, so A' = B (op tb, lda' = ldb), + * B' = A (op ta, ldb' = lda), M' = n, N' = m. k = 0 runs as alpha 0, k 1 (C = beta C, A and B unread). + * Arguments already checked, m, n, count >= 1. Any error aborts. lock held */ +static void gb10_gemm(int ta, int tb, int64_t m, int64_t n, int64_t k, float alpha, const float *A, + int64_t lda, const float *B, int64_t ldb, float beta, float *C, int64_t ldc, + int64_t count, int64_t sa, int64_t sb, int64_t sc) +{ + int nok = alpha == 0.0f || k == 0; + OmegaGemmExInfo inf; + OmegaGemmExArgs x; + memset(&x, 0, sizeof x); + memset(&inf, 0, sizeof inf); + x.op_a = tb ? OMEGA_GEMM_OP_T : OMEGA_GEMM_OP_N; + x.op_b = ta ? OMEGA_GEMM_OP_T : OMEGA_GEMM_OP_N; + x.m = (uint64_t)n; + x.n = (uint64_t)m; + x.k = nok ? 1u : (uint64_t)k; + x.batch = (uint64_t)count; + x.a_type = x.b_type = x.c_type = OMEGA_GEMM_DT_F32; + x.a = nok ? NULL : B; + x.lda = (uint64_t)ldb; + x.stride_a = (uint64_t)sb; + x.b = nok ? NULL : A; + x.ldb = (uint64_t)lda; + x.stride_b = (uint64_t)sa; + x.c = C; + x.ldc = (uint64_t)ldc; + x.stride_c = (uint64_t)sc; + x.alpha = nok ? 0.0f : alpha; + x.beta = beta; + x.compute = OMEGA_GEMM_EX_DEFAULT; + x.scale = OMEGA_GEMM_SCALE_NONE; + x.info = &inf; + int rc = omega_gpu_gemm_ex(&x); + if (rc != OMEGA_GPU_GEMM_OK) { + const char *why = omega_gpu_session_last_error(); + fprintf(stderr, "omega-blas: omega_gpu_gemm_ex %s (%d) on m %lld n %lld k %lld batch %lld: %s\n", + omega_gpu_gemm_rc_name(rc), rc, (long long)m, (long long)n, (long long)k, + (long long)count, why && *why ? why : "-"); + abort(); + } + omb_counts.gb10++; + omb_counts.gb10_core_calls += inf.core_calls; + omb_counts.gb10_host_fixed += inf.host_fixed; +} +#endif + +static size_t esize(omb_type t) { return t == OMB_F32 ? 4 : is16(t) ? 2 : 1; } +static const void *at_elem(const void *p, int64_t i, omb_type t) { return (const char *)p + (ptrdiff_t)i * (ptrdiff_t)esize(t); } + +/* count checked column-major products at element strides sa, sb, sc: on the GB10 for f32 without an + * epilogue when that device is selected, else in the host core. lock held */ +static void run_gemm(int ta, int tb, int64_t m, int64_t n, int64_t k, float alpha, const void *A, + omb_type at, int64_t lda, const void *B, omb_type bt, int64_t ldb, float beta, + void *C, omb_type ct, int64_t ldc, const float *bias, omb_bias bmode, + omb_act act, int64_t count, int64_t sa, int64_t sb, int64_t sc) +{ + int epi = act != OMB_ACT_NONE || (bias && bmode != OMB_BIAS_NONE); + if (m == 0 || n == 0 || count == 0 || ((alpha == 0.0f || k == 0) && beta == 1.0f && !epi)) return; + int gb10 = dev_gb10(); +#ifdef OMB_GB10 + if (gb10 && at == OMB_F32 && bt == OMB_F32 && ct == OMB_F32 && !epi) { + if (sa >= 0 && sb >= 0 && (count == 1 || sc >= (int64_t)span(m, n, ldc))) + gb10_gemm(ta, tb, m, n, k, alpha, A, lda, B, ldb, beta, C, ldc, count, sa, sb, sc); + else + for (int64_t b = 0; b < count; b++) + gb10_gemm(ta, tb, m, n, k, alpha, at_elem(A, b * sa, at), lda, at_elem(B, b * sb, bt), + ldb, beta, (void *)at_elem(C, b * sc, ct), ldc, 1, 0, 0, 0); + return; + } +#else + (void)gb10; +#endif + for (int64_t b = 0; b < count; b++) { + core_gemm(ta, tb, m, n, k, alpha, at_elem(A, b * sa, at), at, lda, at_elem(B, b * sb, bt), bt, + ldb, beta, (void *)at_elem(C, b * sc, ct), ct, ldc, bias, bmode, act); + omb_counts.host++; + } +} + +int omb_set_device(omb_device d) +{ +#ifdef OMB_GB10 + if (d != OMB_DEVICE_HOST && d != OMB_DEVICE_GB10) return -1; +#else + if (d != OMB_DEVICE_HOST) return -1; +#endif + pthread_mutex_lock(&omb_lock); + omb_dev = (int)d; + pthread_mutex_unlock(&omb_lock); + return 0; +} + +omb_device omb_get_device(void) +{ + pthread_mutex_lock(&omb_lock); + omb_device d = dev_gb10() ? OMB_DEVICE_GB10 : OMB_DEVICE_HOST; + pthread_mutex_unlock(&omb_lock); + return d; +} + +void omb_get_route_counts(omb_route_counts *out) +{ + pthread_mutex_lock(&omb_lock); + *out = omb_counts; + pthread_mutex_unlock(&omb_lock); +} + +#ifndef OMB_CUDAPP_REV +#define OMB_CUDAPP_REV "none" +#endif +/* OMEGABLAS_ROUTE_REPORT=1: one line on stderr at unload, the receipt that calls reached the device. */ +__attribute__((destructor)) static void omb_route_report(void) +{ + const char *e = getenv("OMEGABLAS_ROUTE_REPORT"); + if (!e || strcmp(e, "1")) return; + fprintf(stderr, "omega-blas routes: device %s host %llu gb10 %llu gb10_core_calls %llu gb10_host_fixed %llu cudapp %s\n", + omb_dev == OMB_DEVICE_GB10 ? "gb10" : omb_dev == OMB_DEVICE_HOST ? "host" : "unread", + (unsigned long long)omb_counts.host, (unsigned long long)omb_counts.gb10, + (unsigned long long)omb_counts.gb10_core_calls, + (unsigned long long)omb_counts.gb10_host_fixed, OMB_CUDAPP_REV); +} + static int trn(char c) { return !(c == 'N' || c == 'n'); } /* ---- Fortran 77 ---- */ @@ -183,8 +344,8 @@ void sgemm_(const char *transa, const char *transb, const int *m, const int *n, xerbla_("SGEMM ", &i, 6); return; } - core_gemm(trn(*transa), trn(*transb), *m, *n, *k, *alpha, a, OMB_F32, *lda, b, OMB_F32, *ldb, - *beta, c, OMB_F32, *ldc, NULL, OMB_BIAS_NONE, OMB_ACT_NONE); + run_gemm(trn(*transa), trn(*transb), *m, *n, *k, *alpha, a, OMB_F32, *lda, b, OMB_F32, *ldb, + *beta, c, OMB_F32, *ldc, NULL, OMB_BIAS_NONE, OMB_ACT_NONE, 1, 0, 0, 0); pthread_mutex_unlock(&omb_lock); } @@ -220,9 +381,19 @@ void sgemv_(const char *trans, const int *m, const int *n, const float *alpha, c copy32(&gx, (const uint32_t *)x, xl, w, wl); cp gy = { .n = (uint64_t)ly, .os = vstart(ly, iy), .is = iy, .od = (uint64_t)lx, .id = 1 }; copy32(&gy, (const uint32_t *)y, yl, w, wl); - gv g = { .m = (uint64_t)M, .n = (uint64_t)N, .lda = (uint64_t)*lda, .offa = 0, .ta = (uint64_t)t, - .alpha = f2u(*alpha), .beta = f2u(*beta), .wx = 0, .wy = (uint64_t)lx }; - gemv_k(&g, (const uint32_t *)a, span(M, N, *lda), w, wl); + if (dev_gb10()) { +#ifdef OMB_GB10 + /* y (ly) = alpha op(A) x + beta y as the column-major product with x a k = lx by 1 B and + * y a ly by 1 C, both in the workspace */ + gb10_gemm(t, 0, ly, 1, lx, *alpha, a, *lda, (const float *)w, lx, *beta, (float *)(w + lx), + ly, 1, 0, 0, 0); +#endif + } else { + gv g = { .m = (uint64_t)M, .n = (uint64_t)N, .lda = (uint64_t)*lda, .offa = 0, .ta = (uint64_t)t, + .alpha = f2u(*alpha), .beta = f2u(*beta), .wx = 0, .wy = (uint64_t)lx }; + gemv_k(&g, (const uint32_t *)a, span(M, N, *lda), w, wl); + omb_counts.host++; + } cp sy = { .n = (uint64_t)ly, .os = (uint64_t)lx, .is = 1, .od = vstart(ly, iy), .id = iy }; copy32(&sy, w, wl, (uint32_t *)y, yl); free(w); @@ -281,10 +452,13 @@ void cblas_sgemv(CBLAS_LAYOUT layout, enum CBLAS_TRANSPOSE TransA, int M, int N, /* ---- extensions ---- */ -int omb_gemm_ex(CBLAS_LAYOUT layout, enum CBLAS_TRANSPOSE TransA, enum CBLAS_TRANSPOSE TransB, - int M, int N, int K, float alpha, const void *A, omb_type atype, int lda, - const void *B, omb_type btype, int ldb, float beta, void *C, omb_type ctype, - int ldc, const float *bias, omb_bias bias_mode, omb_act act) +/* omb_gemm_ex over count problems at element strides sA, sB, sC (count >= 1; batches share every + * argument but the pointers, so one check covers all). */ +static int gemm_exb(CBLAS_LAYOUT layout, enum CBLAS_TRANSPOSE TransA, enum CBLAS_TRANSPOSE TransB, + int M, int N, int K, float alpha, const void *A, omb_type atype, int lda, + const void *B, omb_type btype, int ldb, float beta, void *C, omb_type ctype, + int ldc, const float *bias, omb_bias bias_mode, omb_act act, int64_t count, + int64_t sA, int64_t sB, int64_t sC) { char ta = tchar(TransA), tb = tchar(TransB); if (layout != CblasColMajor && layout != CblasRowMajor) return 1; @@ -300,8 +474,8 @@ int omb_gemm_ex(CBLAS_LAYOUT layout, enum CBLAS_TRANSPOSE TransA, enum CBLAS_TRA if (layout == CblasColMajor) { info = chk_gemm(ta, tb, M, N, K, lda, ldb, ldc); if (!info) - core_gemm(trn(ta), trn(tb), M, N, K, alpha, A, atype, lda, B, btype, ldb, beta, C, - ctype, ldc, bias, bias_mode, act); + run_gemm(trn(ta), trn(tb), M, N, K, alpha, A, atype, lda, B, btype, ldb, beta, C, + ctype, ldc, bias, bias_mode, act, count, sA, sB, sC); else info += 1; } else { /* row major C (M x N) is column major C^T = op(B)^T op(A)^T (N x M): a row bias of C is @@ -310,8 +484,8 @@ int omb_gemm_ex(CBLAS_LAYOUT layout, enum CBLAS_TRANSPOSE TransA, enum CBLAS_TRA : bias_mode == OMB_BIAS_COL ? OMB_BIAS_ROW : OMB_BIAS_NONE; info = chk_gemm(tb, ta, N, M, K, ldb, lda, ldc); if (!info) - core_gemm(trn(tb), trn(ta), N, M, K, alpha, B, btype, ldb, A, atype, lda, beta, C, - ctype, ldc, bias, bm, act); + run_gemm(trn(tb), trn(ta), N, M, K, alpha, B, btype, ldb, A, atype, lda, beta, C, + ctype, ldc, bias, bm, act, count, sB, sA, sC); else { info += 1; if (info == 4) info = 5; else if (info == 5) info = 4; @@ -322,6 +496,15 @@ int omb_gemm_ex(CBLAS_LAYOUT layout, enum CBLAS_TRANSPOSE TransA, enum CBLAS_TRA return (int)info; } +int omb_gemm_ex(CBLAS_LAYOUT layout, enum CBLAS_TRANSPOSE TransA, enum CBLAS_TRANSPOSE TransB, + int M, int N, int K, float alpha, const void *A, omb_type atype, int lda, + const void *B, omb_type btype, int ldb, float beta, void *C, omb_type ctype, + int ldc, const float *bias, omb_bias bias_mode, omb_act act) +{ + return gemm_exb(layout, TransA, TransB, M, N, K, alpha, A, atype, lda, B, btype, ldb, beta, C, + ctype, ldc, bias, bias_mode, act, 1, 0, 0, 0); +} + int omb_hgemm(CBLAS_LAYOUT layout, enum CBLAS_TRANSPOSE TransA, enum CBLAS_TRANSPOSE TransB, int M, int N, int K, float alpha, const uint16_t *A, int lda, const uint16_t *B, int ldb, float beta, uint16_t *C, int ldc) @@ -338,8 +521,6 @@ int omb_bfgemm(CBLAS_LAYOUT layout, enum CBLAS_TRANSPOSE TransA, enum CBLAS_TRAN beta, C, OMB_BF16, ldc, NULL, OMB_BIAS_NONE, OMB_ACT_NONE); } -static size_t esize(omb_type t) { return t == OMB_F32 ? 4 : is16(t) ? 2 : 1; } - int omb_gemm_batched(CBLAS_LAYOUT layout, enum CBLAS_TRANSPOSE TransA, enum CBLAS_TRANSPOSE TransB, int M, int N, int K, float alpha, const void *const *A, omb_type atype, int lda, const void *const *B, @@ -362,15 +543,9 @@ int omb_gemm_strided_batched(CBLAS_LAYOUT layout, enum CBLAS_TRANSPOSE TransA, void *C, omb_type ctype, int ldc, int64_t strideC, int count) { if (count < 0) return 21; - for (int b = 0; b < count; b++) { - int r = omb_gemm_ex(layout, TransA, TransB, M, N, K, alpha, - (const char *)A + (size_t)(b * strideA) * esize(atype), atype, lda, - (const char *)B + (size_t)(b * strideB) * esize(btype), btype, ldb, - beta, (char *)C + (size_t)(b * strideC) * esize(ctype), ctype, ldc, - NULL, OMB_BIAS_NONE, OMB_ACT_NONE); - if (r) return r; - } - return 0; + if (count == 0) return 0; + return gemm_exb(layout, TransA, TransB, M, N, K, alpha, A, atype, lda, B, btype, ldb, beta, C, + ctype, ldc, NULL, OMB_BIAS_NONE, OMB_ACT_NONE, count, strideA, strideB, strideC); } /* The seeded Omega loop bound is 1,000,000 iterations; convert in chunks below it. */ diff --git a/tests/gb10/batched.c b/tests/gb10/batched.c new file mode 100644 index 0000000..8ec1c2a --- /dev/null +++ b/tests/gb10/batched.c @@ -0,0 +1,180 @@ +/* tests/gb10/batched.c: the f32 entry points netlib does not call (omb_gemm_strided_batched, + * omb_gemm_batched, omb_gemm_ex), checked on whichever device OMEGABLAS_DEVICE selects. + * Run by tests/gb10/run.sh. A case passes when all three hold: + * - every C element: ratio = |C - ref| / (2^-23 G) < limit, with G = |alpha| sum|a||b| + |beta||c0| + * + |bias| and ref computed in double (exact to far below 2^-23 G). Every case has K <= 16, one + * HMMA step per plane pair, so docs/TOLERANCE.md gives, against the exact product: device route + * 5 c + 1/2 + O(2^-23) = 5.69993 (limit 5.70), host route gamma_(K+3)/2^-23 = 9.50001 (limit 9.51); + * - every element outside the products (ld padding, gaps between batches) is unchanged; + * - the route counters move as predicted. One gemm_ex call per disjoint strided batch, one per + * problem otherwise; epilogue and non-f32 calls stay on the host. + * Prints one line per failure, the largest ratio and the case count; exits 0 only if every case + * passes. + * MIGRATION-PENDING C test driver: it drives the C ABI from outside, which an Omega unit cannot do + * yet. Successor: an Omega driver once omega-bridge carries Omega-to-C calls (docs/EXTENSIONS.md). + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */ +#include "omegablas.h" + +#include +#include +#include +#include + +#define SENT 1234.5f +#define LIM_DEV 5.70 +#define LIM_HOST 9.51 + +enum mode { STRIDED, OVERLAP, PTR, EX_BIAS, EX_BF16 }; +static const char *mname[] = { "strided", "overlap", "pointer", "ex+bias", "ex-bf16" }; + +static uint64_t rs = 0x9e3779b97f4a7c15u; +static float rnd(void) /* [-1, 1), 24 significant bits */ +{ + rs = rs * 6364136223846793005u + 1442695040888963407u; + return (float)((double)(rs >> 40) * 0x1p-23 - 1.0); +} + +static float bf16val(uint16_t h) +{ + uint32_t u = (uint32_t)h << 16; + float f; + memcpy(&f, &u, 4); + return f; +} + +static int fails, cases, gdev; +static double worst_dev, worst_host; + +/* element (i, j) of a stored matrix in the layout */ +static size_t ix(int row, int ld, int i, int j) { return row ? (size_t)i * ld + j : i + (size_t)j * ld; } + +static void run_case(int row, int ta, int tb, int M, int N, int K, int count, enum mode md) +{ + char name[96]; + snprintf(name, sizeof name, "%s %s ta=%d tb=%d M=%d N=%d K=%d count=%d", mname[md], + row ? "row" : "col", ta, tb, M, N, K, count); + cases++; + CBLAS_LAYOUT lay = row ? CblasRowMajor : CblasColMajor; + enum CBLAS_TRANSPOSE TA = ta ? CblasTrans : CblasNoTrans, TB = tb ? CblasTrans : CblasNoTrans; + /* stored shapes: A is (ta ? K x M : M x K), B is (tb ? N x K : K x N), C is M x N */ + int ar = ta ? K : M, ac = ta ? M : K, br = tb ? N : K, bc = tb ? K : N; + int lda = (row ? ac : ar) + 2, ldb = (row ? bc : br) + 2, ldc = (row ? N : M) + 2; + if (lda < 1) lda = 1; + if (ldb < 1) ldb = 1; + size_t sa = (size_t)lda * (row ? ar : ac) + 5, sb = (size_t)ldb * (row ? br : bc) + 5; + size_t sc = (size_t)ldc * (row ? M : N) + 5; + size_t nc = md == OVERLAP ? sc : sc * count; + float *A = malloc(sa * count * 4), *B = malloc(sb * count * 4), *C = malloc(nc * 4), *C0 = malloc(nc * 4); + uint16_t *Ah = malloc(sa * count * 2), *Bh = malloc(sb * count * 2); + float bias[16]; + for (size_t i = 0; i < sa * count; i++) { + A[i] = rnd(); + if (md == EX_BF16) { uint32_t u; memcpy(&u, &A[i], 4); Ah[i] = u >> 16; A[i] = bf16val(Ah[i]); } + } + for (size_t i = 0; i < sb * count; i++) { + B[i] = rnd(); + if (md == EX_BF16) { uint32_t u; memcpy(&u, &B[i], 4); Bh[i] = u >> 16; B[i] = bf16val(Bh[i]); } + } + for (size_t i = 0; i < nc; i++) C[i] = SENT; + int nb = md == OVERLAP ? 1 : count; + for (int b = 0; b < nb; b++) + for (int i = 0; i < M; i++) + for (int j = 0; j < N; j++) C[b * sc + ix(row, ldc, i, j)] = rnd(); + for (int i = 0; i < M; i++) bias[i] = rnd(); + memcpy(C0, C, nc * 4); + const float al = 1.25f, be = md == OVERLAP ? 0.0f : -0.75f; + + omb_route_counts r0, r1; + omb_get_route_counts(&r0); + int info = 0; + if (md == STRIDED || md == OVERLAP) + info = omb_gemm_strided_batched(lay, TA, TB, M, N, K, al, A, OMB_F32, lda, (int64_t)sa, B, + OMB_F32, ldb, (int64_t)sb, be, C, OMB_F32, ldc, + md == OVERLAP ? 0 : (int64_t)sc, count); + else if (md == PTR) { + const void *pa[8], *pb[8]; + void *pc[8]; + for (int b = 0; b < count; b++) { pa[b] = A + b * sa; pb[b] = B + b * sb; pc[b] = C + b * sc; } + info = omb_gemm_batched(lay, TA, TB, M, N, K, al, pa, OMB_F32, lda, pb, OMB_F32, ldb, be, pc, + OMB_F32, ldc, count); + } else if (md == EX_BIAS) + info = omb_gemm_ex(lay, TA, TB, M, N, K, al, A, OMB_F32, lda, B, OMB_F32, ldb, be, C, OMB_F32, + ldc, bias, OMB_BIAS_ROW, OMB_ACT_NONE); + else + info = omb_gemm_ex(lay, TA, TB, M, N, K, al, Ah, OMB_BF16, lda, Bh, OMB_BF16, ldb, be, C, + OMB_F32, ldc, NULL, OMB_BIAS_NONE, OMB_ACT_NONE); + omb_get_route_counts(&r1); + + int bad = 0; + if (info) { printf("FAIL %s: info %d\n", name, info); bad = 1; } + /* predicted routes */ + uint64_t eg = 0, eh = (uint64_t)count; + if (gdev && (md == STRIDED || md == OVERLAP || md == PTR)) + eg = md == STRIDED ? 1 : (uint64_t)count, eh = 0; + if (r1.gb10 - r0.gb10 != eg || r1.host - r0.host != eh) { + printf("FAIL %s: routes gb10 +%llu host +%llu, predicted gb10 +%llu host +%llu\n", name, + (unsigned long long)(r1.gb10 - r0.gb10), (unsigned long long)(r1.host - r0.host), + (unsigned long long)eg, (unsigned long long)eh); + bad = 1; + } + /* values: in OVERLAP (stride C 0, beta 0) the last problem wins */ + int dr = gdev && (md == STRIDED || md == OVERLAP || md == PTR); + double lim = dr ? LIM_DEV : LIM_HOST, *wr = dr ? &worst_dev : &worst_host; + char *in = calloc(nc, 1); + for (int b = 0; b < count; b++) { + int cb = md == OVERLAP ? 0 : b; + if (md == OVERLAP && b != count - 1) continue; + for (int i = 0; i < M; i++) + for (int j = 0; j < N; j++) { + double s = 0, g = 0; + for (int p = 0; p < K; p++) { + double a = A[b * sa + (ta ? ix(row, lda, p, i) : ix(row, lda, i, p))]; + double v = B[b * sb + (tb ? ix(row, ldb, j, p) : ix(row, ldb, p, j))]; + s += a * v; + g += fabs(a * v); + } + size_t e = cb * sc + ix(row, ldc, i, j); + double ref = (double)al * s + (double)be * C0[e]; + g = fabs((double)al) * g + fabs((double)be) * fabs((double)C0[e]); + if (md == EX_BIAS) { ref += bias[i]; g += fabs((double)bias[i]); } + double ratio = g > 0 ? fabs((double)C[e] - ref) / (0x1p-23 * g) : (C[e] == ref ? 0 : INFINITY); + if (ratio > *wr) *wr = ratio; + if (!(ratio < lim)) { + if (!bad) printf("FAIL %s: C(%d,%d) batch %d = %.9g, ref %.17g, ratio %.3g\n", name, i, j, b, C[e], ref, ratio); + bad = 1; + } + in[e] = 1; + } + } + for (size_t e = 0; e < nc; e++) + if (!in[e] && C[e] != C0[e]) { + printf("FAIL %s: element %zu outside the products changed (%.9g -> %.9g)\n", name, e, C0[e], C[e]); + bad = 1; + break; + } + fails += bad; + free(in); free(A); free(B); free(C); free(C0); free(Ah); free(Bh); +} + +int main(void) +{ + setvbuf(stdout, NULL, _IOLBF, 0); /* a device error aborts: keep the lines printed before it */ + gdev = omb_get_device() == OMB_DEVICE_GB10; + static const int sh[][3] = { { 1, 1, 1 }, { 3, 5, 2 }, { 9, 7, 9 }, { 16, 13, 16 }, { 4, 6, 0 } }; + for (int row = 0; row < 2; row++) + for (int ta = 0; ta < 2; ta++) + for (int tb = 0; tb < 2; tb++) + for (int s = 0; s < 5; s++) run_case(row, ta, tb, sh[s][0], sh[s][1], sh[s][2], 3, STRIDED); + run_case(0, 1, 0, 9, 7, 9, 3, OVERLAP); + run_case(1, 0, 1, 5, 3, 16, 3, OVERLAP); + run_case(0, 1, 0, 9, 7, 9, 3, PTR); + run_case(1, 0, 1, 5, 3, 16, 3, PTR); + run_case(0, 0, 1, 9, 7, 9, 1, EX_BIAS); + run_case(1, 1, 0, 16, 13, 16, 1, EX_BF16); + omb_route_counts r; + omb_get_route_counts(&r); + printf("batched: device %s, %d cases, %d failed, largest ratio device route %.3f (limit %.2f) host route %.3f (limit %.2f), routes host %llu gb10 %llu gb10_core_calls %llu\n", + gdev ? "gb10" : "host", cases, fails, worst_dev, LIM_DEV, worst_host, LIM_HOST, (unsigned long long)r.host, + (unsigned long long)r.gb10, (unsigned long long)r.gb10_core_calls); + return fails != 0; +} diff --git a/tests/gb10/hooks.c b/tests/gb10/hooks.c new file mode 100644 index 0000000..99e0db2 --- /dev/null +++ b/tests/gb10/hooks.c @@ -0,0 +1,69 @@ +/* tests/gb10/hooks.c: test-only constructor linked into the netlib drivers of a GB10=1 build + * (tests/netlib/run.sh with GB10_HOOKS=1). libomegablas itself has neither knob. + * OMB_TEST_BACKEND=model replace CUDApp's chip core with the chip-exact HMMA model of CUDApp + * tests/bw_hmma_model.h ({16, 2, RZ, nominal 2}, evidence + * OWN30B-T3-HMMA-MODEL): the device glue runs on the host, no GPU opened + * OMB_TEST_MUTANT= plant CUDApp gemm_ex mutant n (1: the last k element is dropped), the + * negative control; the drivers must report failures + * MIGRATION-PENDING C test glue: it exists because the backend hook is a C function pointer; its + * successor is the same model as an Omega unit once CUDApp's gemm_ex core is one (docs/EXTENSIONS.md). + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */ +#include "omega_gpu_gemm_ex.h" +#include "omega_gpu_gemm.h" +#include "bw_hmma_model.h" + +#include +#include + +static const HmmaModel HM = { 16, 2, 0, 2, 0 }; + +static float bf(const void *p, uint64_t i) +{ + uint32_t u = (uint32_t)((const uint16_t *)p)[i] << 16; + float f; + memcpy(&f, &u, 4); + return f; +} + +/* the bf16 core only: the bf16x3 route of an f32 gemm_ex call is the one omega-blas sends */ +static int model_core(void *ctx, OmegaGpuGemmType t, unsigned lay, uint32_t M, uint32_t N, uint32_t K, + const void *A, uint64_t lda, const void *B, uint64_t ldb, float *C) +{ + (void)ctx; + if (t != OMEGA_GPU_GEMM_BF16) { + fprintf(stderr, "omega-blas test model: core type %d is not modelled\n", (int)t); + return OMEGA_GPU_GEMM_UNSUPPORTED; + } + const int acol = (lay & OMEGA_GPU_GEMM_A_COL) != 0, bcol = (lay & OMEGA_GPU_GEMM_B_COL) != 0; + const uint64_t ea = lda ? lda : acol ? M : K, eb = ldb ? ldb : bcol ? K : N; + for (uint32_t m = 0; m < M; m++) + for (uint32_t n = 0; n < N; n++) { + float acc = 0.0f; + for (uint32_t k0 = 0; k0 < K; k0 += 16) { + float av[16], bv[16]; + for (uint32_t k = 0; k < 16; k++) { + uint64_t kk = k0 + k; + if (kk >= K) { av[k] = bv[k] = 0.0f; continue; } + av[k] = bf(A, acol ? kk * ea + m : (uint64_t)m * ea + kk); + bv[k] = bf(B, bcol ? (uint64_t)n * eb + kk : kk * eb + n); + } + acc = hm_dot16(&HM, av, bv, acc); + } + C[(uint64_t)m * N + n] = acc; + } + return OMEGA_GPU_GEMM_OK; +} + +__attribute__((constructor)) static void omb_test_hooks(void) +{ + const char *b = getenv("OMB_TEST_BACKEND"), *m = getenv("OMB_TEST_MUTANT"); + if (b && *b) { + if (strcmp(b, "model")) { fprintf(stderr, "omega-blas test hooks: OMB_TEST_BACKEND must be model\n"); abort(); } + omega_gpu_gemm_ex_set_backend(model_core, NULL); + fprintf(stderr, "omega-blas test hooks: backend model (bw_hmma_model {16,2,RZ,nominal 2})\n"); + } + if (m && *m) { + omega_gpu_gemm_ex_test_set_mutant(atoi(m)); + fprintf(stderr, "omega-blas test hooks: gemm_ex mutant %d planted\n", atoi(m)); + } +} diff --git a/tests/gb10/run.sh b/tests/gb10/run.sh new file mode 100755 index 0000000..f25735d --- /dev/null +++ b/tests/gb10/run.sh @@ -0,0 +1,23 @@ +#!/bin/sh +# tests/gb10/run.sh: build and run tests/gb10/batched.c (strided, pointer-array and single f32 +# products, the epilogue and non-f32 calls that must stay on the host) against one library build. +# OMB_BUILD= library directory (default build-gb10; build for the host-only library) +# OMEGABLAS_DEVICE=gb10 run on the device path (unset: host); the route predictions follow it +# GB10_HOOKS= link tests/gb10/hooks.c (OMB_TEST_BACKEND=model, OMB_TEST_MUTANT=) +# Exit status is the driver's: 0 only if every case is inside its derived limit, leaves every +# element outside the products alone, and moves the route counters as predicted. +set -eu +ROOT=$(cd "$(dirname "$0")/../.." && pwd) +CC=${CC:-cc} +OMB_BUILD=$(cd "$ROOT" && cd "${OMB_BUILD:-build-gb10}" && pwd) +W="$OMB_BUILD/gb10test" +rm -rf "$W"; mkdir -p "$W" +HOOKS= +if [ -n "${GB10_HOOKS:-}" ]; then + $CC -O1 -I"$GB10_HOOKS/src" -I"$GB10_HOOKS/tests" -c -o "$W/hooks.o" "$ROOT/tests/gb10/hooks.c" + HOOKS="$W/hooks.o" +fi +$CC -O1 -Wall -I"$ROOT/include" -o "$W/batched" "$ROOT/tests/gb10/batched.c" $HOOKS \ + -L"$OMB_BUILD" -lomegablas -Wl,-rpath,"$OMB_BUILD" -lm +echo "gb10 batched: library $OMB_BUILD/libomegablas.so, device ${OMEGABLAS_DEVICE:-host}" +"$W/batched" diff --git a/tests/netlib/fetch.sh b/tests/netlib/fetch.sh new file mode 100755 index 0000000..acc3429 --- /dev/null +++ b/tests/netlib/fetch.sh @@ -0,0 +1,13 @@ +#!/bin/sh +# tests/netlib/fetch.sh : download and verify netlib LAPACK v3.12.1 (only its BLAS/CBLAS test +# drivers are used, by tests/netlib/run.sh), unpack it under , print the LAPACK= path. +set -eu +D=${1:?usage: fetch.sh } +URL=https://github.com/Reference-LAPACK/lapack/archive/refs/tags/v3.12.1.tar.gz +SHA=2ca6407a001a474d4d4d35f3a61550156050c48016d949f0da0529c0aa052422 +mkdir -p "$D" +T=$D/lapack-3.12.1.tar.gz +[ -f "$T" ] || curl -fsSL -o "$T" "$URL" +echo "$SHA $T" | sha256sum -c - >&2 +[ -d "$D/lapack-3.12.1" ] || tar -xzf "$T" -C "$D" +echo "LAPACK=$(cd "$D/lapack-3.12.1" && pwd)" diff --git a/tests/netlib/run.sh b/tests/netlib/run.sh index 4ebafbf..732a588 100755 --- a/tests/netlib/run.sh +++ b/tests/netlib/run.sh @@ -1,18 +1,33 @@ #!/bin/sh # tests/netlib/run.sh: the netlib reference BLAS test drivers (sblat2, sblat3) and CBLAS test -# drivers (c_sblat2, c_sblat3) from LAPACK 3.12.1, linked against build/libomegablas.so. +# drivers (c_sblat2, c_sblat3) from LAPACK 3.12.1, linked unmodified against libomegablas.so. # Only the implemented routines are enabled in the input decks (SGEMV, SGEMM; error exits on); # every other routine the drivers reference is an abort() stub, so a stray call fails loudly. # Usage: LAPACK= FC= sh tests/netlib/run.sh +# OMB_BUILD= library directory (default build; build-gb10 for make GB10=1) +# OMEGABLAS_DEVICE=gb10 run on the GB10 device path (README.md); each driver must then report +# host 0 and gb10 > 0 calls (OMEGABLAS_ROUTE_REPORT line in its log) +# GB10_HOOKS= link tests/gb10/hooks.c into the drivers (OMB_TEST_BACKEND=model runs the +# device glue on the chip-exact HMMA model; OMB_TEST_MUTANT=1 the negative control) +# THRESH= replace the decks' 16.0: a measurement run that prints every routine's +# maximum test ratio (SUSPECT lines are then expected); fails only on FATAL, +# FAILED or a missing END OF TESTS. Not a gate. +# DRIVERS="" run only these of sblat2 sblat3 c_sblat2 c_sblat3 (to fit a chip hold); +# the others print NOT_RUN and the exit status is 1 # Exit 0 only if all four drivers report every enabled routine PASSED and none FAILED. set -eu ROOT=$(cd "$(dirname "$0")/../.." && pwd) LAPACK=${LAPACK:?set LAPACK to an unpacked lapack-3.12.1 tree (tests/netlib/fetch.sh)} FC=${FC:-gfortran} CC=${CC:-cc} -W=$ROOT/build/netlib +OMB_BUILD=$(cd "$ROOT" && cd "${OMB_BUILD:-build}" && pwd) +DEV=${OMEGABLAS_DEVICE:-host} +THRESH=${THRESH:-} +W=$OMB_BUILD/netlib rm -rf "$W"; mkdir -p "$W" -LIB="-L$ROOT/build -lomegablas -Wl,-rpath,$ROOT/build" +LIB="-L$OMB_BUILD -lomegablas -Wl,-rpath,$OMB_BUILD" +[ "$DEV" = gb10 ] && export OMEGABLAS_ROUTE_REPORT=1 +echo "netlib: library $OMB_BUILD/libomegablas.so, device $DEV${THRESH:+, THRESH $THRESH (measurement)}" stubs() { for r in "$@"; do printf 'void %s(void) { fputs("omega-blas test stub: %s called\\n", stderr); abort(); }\n' "$r" "$r"; done @@ -26,29 +41,53 @@ stubs() { cblas_strsv cblas_sgemmtr cblas_ssymm cblas_ssyr2k cblas_ssyrk cblas_strmm cblas_strsm } > "$W/stubs.c" $CC -O1 -c -o "$W/stubs.o" "$W/stubs.c" +HOOKS= +if [ -n "${GB10_HOOKS:-}" ]; then + $CC -O1 -I"$GB10_HOOKS/src" -I"$GB10_HOOKS/tests" -c -o "$W/hooks.o" "$ROOT/tests/gb10/hooks.c" + HOOKS="$W/hooks.o" +fi # input decks: keep the SGEMV / SGEMM lines enabled, disable every other routine # (fixed-column reads: flip the T in place, keep the spacing) -deck() { sed -E "/^(cblas_)?[sS][A-Za-z0-9]+ +[TF] /{ /^$2 /!s/^([A-Za-z0-9_]+ +)T/\\1F/; }" "$1"; } +deck() { + sed -E "/^(cblas_)?[sS][A-Za-z0-9]+ +[TF] /{ /^$2 /!s/^([A-Za-z0-9_]+ +)T/\\1F/; }" "$1" | + if [ -n "$THRESH" ]; then sed -E "s/^16\\.0( +THRESHOLD VALUE)/$THRESH\\1/"; else cat; fi +} deck "$LAPACK/BLAS/TESTING/sblat2.in" SGEMV > "$W/sblat2.in" deck "$LAPACK/BLAS/TESTING/sblat3.in" SGEMM > "$W/sblat3.in" deck "$LAPACK/CBLAS/testing/sin2" cblas_sgemv > "$W/sin2" deck "$LAPACK/CBLAS/testing/sin3" cblas_sgemm > "$W/sin3" +grep -q "^${THRESH:-16.0} *THRESHOLD VALUE" "$W/sblat2.in" "$W/sin3" || { echo "deck threshold not set"; exit 1; } FFLAGS="-O0 -fno-optimize-sibling-calls" -$FC $FFLAGS -o "$W/sblat2" "$LAPACK/BLAS/TESTING/sblat2.f" "$W/stubs.o" $LIB -$FC $FFLAGS -o "$W/sblat3" "$LAPACK/BLAS/TESTING/sblat3.f" "$W/stubs.o" $LIB +$FC $FFLAGS -o "$W/sblat2" "$LAPACK/BLAS/TESTING/sblat2.f" "$W/stubs.o" $HOOKS $LIB +$FC $FFLAGS -o "$W/sblat3" "$LAPACK/BLAS/TESTING/sblat3.f" "$W/stubs.o" $HOOKS $LIB printf '#ifndef F77_GLOBAL\n#define F77_GLOBAL(lcname,UCNAME) lcname##_\n#endif\n' > "$W/cblas_mangling.h" CI="-I$W -I$LAPACK/CBLAS/include -DADD_" T=$LAPACK/CBLAS/testing for f in c_sblas2 c_s2chke c_sblas3 c_s3chke auxiliary c_xerbla; do $CC -O1 $CI -c -o "$W/$f.o" "$T/$f.c"; done -$FC $FFLAGS -o "$W/c_sblat2" "$T/c_sblat2.f" "$W/c_sblas2.o" "$W/c_s2chke.o" "$W/auxiliary.o" "$W/c_xerbla.o" "$W/stubs.o" $LIB -$FC $FFLAGS -o "$W/c_sblat3" "$T/c_sblat3.f" "$W/c_sblas3.o" "$W/c_s3chke.o" "$W/auxiliary.o" "$W/c_xerbla.o" "$W/stubs.o" $LIB +$FC $FFLAGS -o "$W/c_sblat2" "$T/c_sblat2.f" "$W/c_sblas2.o" "$W/c_s2chke.o" "$W/auxiliary.o" "$W/c_xerbla.o" "$W/stubs.o" $HOOKS $LIB +$FC $FFLAGS -o "$W/c_sblat3" "$T/c_sblat3.f" "$W/c_sblas3.o" "$W/c_s3chke.o" "$W/auxiliary.o" "$W/c_xerbla.o" "$W/stubs.o" $HOOKS $LIB rc=0 -check() { # name log nblocks routine: require END OF TESTS, no failure/suspect lines, the error-exit - # PASSED line and nblocks computational PASSED lines (2 for CBLAS: column- and row-major) - n=$1; log=$2; want=$3; r=$4 +check() { # name log nblocks routine runlog: require END OF TESTS, no failure/suspect lines, the + # error-exit PASSED line and nblocks computational PASSED lines (2 for CBLAS: column- and + # row-major); on the GB10, the route line of runlog with host 0 and gb10 > 0 + n=$1; log=$2; want=$3; r=$4; run=$5 + if [ "$DEV" = gb10 ]; then + rl=$(grep "^omega-blas routes:" "$run" || true) + echo "$n: $rl" + case "$rl" in + "omega-blas routes: device gb10 host 0 gb10 0 "*|"") echo "$n: FAIL (no calls reached the GB10)"; rc=1; return ;; + "omega-blas routes: device gb10 host 0 gb10 "*) ;; + *) echo "$n: FAIL (calls ran on the host)"; rc=1; return ;; + esac + fi + if [ -n "$THRESH" ]; then + grep "MAXIMUM TEST RATIO\|PASSED" "$log" | sed "s/^/$n: /" + if grep -q "FATAL\|FAILED" "$log" || [ "$(grep -c "END OF TESTS" "$log" || true)" != 1 ]; then echo "$n: FAIL"; rc=1; return; fi + echo "$n: measured (THRESH $THRESH)"; return + fi if grep -q "FAIL\|SUSPECT\|\*\*\*\*\*\*" "$log"; then echo "$n: FAIL"; grep -n "FAIL\|SUSPECT\|\*\*\*\*\*\*" "$log" | head -20; rc=1; return; fi c=$(grep -c "^ *$r *PASSED THE .*COMPUTATIONAL TESTS" "$log" || true) e=$(grep -c "^ *$r *PASSED THE TESTS OF ERROR-EXITS" "$log" || true) @@ -60,12 +99,15 @@ check() { # name log nblocks routine: require END OF TESTS, no failure/suspect l } cd "$W" # the F77 drivers write their summary to sblat?.out (named in the deck); the CBLAS ones to stdout -./sblat2 < sblat2.in > sblat2.log 2>&1 || { echo "sblat2 exit $?"; rc=1; } -check sblat2 sblat2.out 1 SGEMV -./sblat3 < sblat3.in > sblat3.log 2>&1 || { echo "sblat3 exit $?"; rc=1; } -check sblat3 sblat3.out 1 SGEMM -./c_sblat2 < sin2 > c_sblat2.log 2>&1 || { echo "c_sblat2 exit $?"; rc=1; } -check c_sblat2 c_sblat2.log 2 cblas_sgemv -./c_sblat3 < sin3 > c_sblat3.log 2>&1 || { echo "c_sblat3 exit $?"; rc=1; } -check c_sblat3 c_sblat3.log 2 cblas_sgemm +run() { # driver deck summary nblocks routine + case " ${DRIVERS:-sblat2 sblat3 c_sblat2 c_sblat3} " in *" $1 "*) ;; *) echo "$1: NOT_RUN (DRIVERS)"; rc=1; return ;; esac + t0=$(date +%s.%N) + ./$1 < $2 > $1.log 2>&1 || { echo "$1 exit $?"; rc=1; } + echo "$1: wall $(echo "$(date +%s.%N) - $t0" | bc) s" + check $1 $3 $4 $5 $1.log +} +run sblat2 sblat2.in sblat2.out 1 SGEMV +run sblat3 sblat3.in sblat3.out 1 SGEMM +run c_sblat2 sin2 c_sblat2.log 2 cblas_sgemv +run c_sblat3 sin3 c_sblat3.log 2 cblas_sgemm exit $rc ```