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/gemv/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 / gemv / workload.json` 27 lines ยท 1356 bytes Raw Blame History 1 { 2 "name": "gemv", 3 "family": "memory-bound", 4 "summary": "y = A x with A M x N row-major, x N, y M, all f32", 5 "provenance": "authored for OpenAccel Lab (Apache-2.0); BLAS SGEMV (no transpose) with alpha=1, beta=0", 6 "params": {"M": 200, "N": 300}, 7 "cases": [{}, {"M": 33, "N": 17}, {"M": 1, "N": 1}], 8 "shrink": {"M": {"min": 1}, "N": {"min": 1}}, 9 "inputs": [ 10 {"name": "A", "dtype": "f32", "shape": ["M", "N"], "gen": {"kind": "uniform", "lo": -1.0, "hi": 1.0}}, 11 {"name": "x", "dtype": "f32", "shape": ["N"], "gen": {"kind": "normal4", "std": 1.0}} 12 ], 13 "outputs": [{"name": "y", "dtype": "f32", "shape": ["M"]}], 14 "tolerance": { 15 "y": {"kind": "bound", "rtol": "gamma(N)", "atol": 0, 16 "why": "each y[i] is a length-N dot product; in any summation order, fused or not, |err| <= gamma(N)*sum_j |A[i][j] x[j]| (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[300],6] -> 1.78817*10^-5, N[g[17],6] -> 1.01328*10^-6, N[g[1],6] -> 5.96046*10^-8"} 17 }, 18 "timing": {"warmup": 2, "repeats": 10}, 19 "backends": { 20 "omega": {"src": "omega.om"}, 21 "opencl": {"src": "kernel.cl", "launches": [ 22 {"kernel": "gemv", "global": ["(M + 63) // 64 * 64"], "local": [64], "args": ["A", "x", "y", "M", "N"]} 23 ]}, 24 "triton": {"src": "triton_kernel.py"}, 25 "cuda": {"src": "kernel.cu"} 26 } 27 }