File size: 1,165 Bytes
5aca263 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | {
"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" }] }
}
]
}
|