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/vecadd/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 / vecadd / workload.json` 96 lines ยท 1243 bytes Raw Blame History 1 { 2 "name": "vecadd", 3 "family": "memory-bound", 4 "summary": "y[i] = a[i] + b[i] over n f32 elements", 5 "provenance": "authored for OpenAccel Lab (Apache-2.0); the GPU form matches aien-dev/omega-gpu-bench vecadd", 6 "params": { 7 "n": 100003 8 }, 9 "cases": [ 10 {}, 11 { 12 "n": 1 13 }, 14 { 15 "n": 4096 16 } 17 ], 18 "shrink": { 19 "n": { 20 "min": 1 21 } 22 }, 23 "inputs": [ 24 { 25 "name": "a", 26 "dtype": "f32", 27 "shape": [ 28 "n" 29 ], 30 "gen": { 31 "kind": "uniform", 32 "lo": -4.0, 33 "hi": 4.0 34 } 35 }, 36 { 37 "name": "b", 38 "dtype": "f32", 39 "shape": [ 40 "n" 41 ], 42 "gen": { 43 "kind": "normal4", 44 "std": 2.0 45 } 46 } 47 ], 48 "outputs": [ 49 { 50 "name": "y", 51 "dtype": "f32", 52 "shape": [ 53 "n" 54 ] 55 } 56 ], 57 "tolerance": { 58 "y": { 59 "kind": "exact", 60 "why": "one correctly rounded f32 add per element" 61 } 62 }, 63 "timing": { 64 "warmup": 2, 65 "repeats": 10 66 }, 67 "backends": { 68 "omega": { 69 "src": "omega.om" 70 }, 71 "opencl": { 72 "src": "kernel.cl", 73 "launches": [ 74 { 75 "kernel": "vecadd", 76 "global": [ 77 "n" 78 ], 79 "local": null, 80 "args": [ 81 "a", 82 "b", 83 "y", 84 "n" 85 ] 86 } 87 ] 88 }, 89 "triton": { 90 "src": "triton_kernel.py" 91 }, 92 "cuda": { 93 "src": "kernel.cu" 94 } 95 } 96 }