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/openaccel-lab/blob/main/workloads/gemm_nt/workload.json # openaccel-lab aien-dev/openaccel-lab Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `openaccel-lab / workloads / gemm_nt / workload.json` 28 lines ยท 1437 bytes Raw Blame History 1 { 2 "name": "gemm_nt", 3 "family": "compute-bound", 4 "summary": "C = A B^T with A M x K, B N x K, C M x N, all f32 row-major", 5 "provenance": "authored for OpenAccel Lab (Apache-2.0); BLAS SGEMM NT semantics with alpha=1, beta=0", 6 "params": {"M": 48, "N": 40, "K": 72}, 7 "cases": [{}, {"M": 17, "N": 13, "K": 19}], 8 "shrink": {"M": {"min": 1}, "N": {"min": 1}, "K": {"min": 1}}, 9 "inputs": [ 10 {"name": "A", "dtype": "f32", "shape": ["M", "K"], "gen": {"kind": "uniform", "lo": -1.0, "hi": 1.0}}, 11 {"name": "B", "dtype": "f32", "shape": ["N", "K"], "gen": {"kind": "normal4", "std": 1.0}} 12 ], 13 "outputs": [{"name": "C", "dtype": "f32", "shape": ["M", "N"]}], 14 "tolerance": { 15 "C": {"kind": "bound", "rtol": "gamma(K)", "atol": 0, 16 "why": "each C[i][j] is a length-K dot product of row i of A and row j of B; in any summation order, fused or not, |err| <= gamma(K)*sum_k |A[i][k] B[j][k]| (Higham Thm 3.1/3.5); reference.py passes that sum as scale. WolframLanguageEvaluator: g[n_]:=n 2^-24/(1-n 2^-24); N[g[72],6] -> 4.29155*10^-6, N[g[19],6] -> 1.13249*10^-6"} 17 }, 18 "timing": {"warmup": 1, "repeats": 5}, 19 "backends": { 20 "omega": {"src": "omega.om"}, 21 "opencl": {"src": "kernel.cl", "launches": [ 22 {"kernel": "gemm_nt", "global": ["(N + 15) // 16 * 16", "(M + 15) // 16 * 16"], "local": [16, 16], 23 "args": ["A", "B", "C", "M", "N", "K"]} 24 ]}, 25 "triton": {"src": "triton_kernel.py"}, 26 "cuda": {"src": "kernel.cu"} 27 } 28 }