{ "op": "ai.onnx.Or", "tunableSpace": { "WORKGROUP_SIZE": [64, 128, 256] }, "cases": [ { "name": "or-bool-4m", "preset": "smoke", "vars": { "dtype": "bool", "count": 4194304 }, "inputs": { "a": { "dtype": "bool", "shape": [4194304], "dist": "linearMod", "mod": 2, "step": 1, "offset": 0 }, "b": { "dtype": "bool", "shape": [4194304], "dist": "linearMod", "mod": 2, "step": 1, "offset": 1 } }, "outputs": { "c": { "dtype": "bool", "shape": [4194304] } }, "bench": { "primary": true, "metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype) * 3" }] } }, { "name": "or-broadcast-4m", "preset": "stress", "vars": { "rows": 128, "cols": 32768, "count": 4194304 }, "inputs": { "a": { "dtype": "bool", "shape": [1, 32768], "dist": "linearMod", "mod": 2, "step": 1, "offset": 0 }, "b": { "dtype": "bool", "shape": [128, 1], "dist": "linearMod", "mod": 2, "step": 1, "offset": 1 } }, "outputs": { "c": { "dtype": "bool", "shape": [128, 32768], "dist": "empty" } }, "bench": { "metrics": [{ "type": "bandwidth", "value": "(dim(shapes.c,0) + dim(shapes.c,1) + numel(shapes.c)) * 4" }] } } ] }