| { |
| "op": "ai.onnx.BitShift", |
| "tunableSpace": { "WORKGROUP_SIZE": [64, 128, 256] }, |
| "cases": [ |
| { |
| "name": "u32_left_1m", |
| "preset": "smoke", |
| "attrs": { "direction": "LEFT" }, |
| "inputs": { |
| "x": { "dtype": "uint32", "shape": [1048576], "data": { "kind": "constant", "value": 1 } }, |
| "y": { "dtype": "uint32", "shape": [1048576], "data": { "kind": "constant", "value": 3 } } |
| }, |
| "outputs": { "z": { "dtype": "uint32", "shape": [1048576] } }, |
| "bench": { |
| "metrics": [{ "type": "bandwidth", "value": "(numel(shapes.x) + numel(shapes.y) + numel(shapes.z)) * 4" }] |
| } |
| }, |
| { |
| "name": "broadcast_scalar_x_4m_left_u32", |
| "preset": "edge", |
| "attrs": { "direction": "LEFT" }, |
| "inputs": { |
| "x": { "dtype": "uint32", "shape": [], "dist": "uniform", "seed": 42, "min": 1, "max": 1000 }, |
| "y": { "dtype": "uint32", "shape": [4194304], "dist": "uniform", "seed": 43, "min": 0, "max": 31 } |
| }, |
| "outputs": { "z": { "dtype": "uint32", "shape": [4194304] } }, |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "numel(shapes.z) * 8" }] } |
| } |
| ] |
| } |
|
|