File size: 6,464 Bytes
48ce895 e7a531e 48ce895 | 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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | {
"op": "ai.onnx.MaxUnpool",
"tunableSpace": { "WORKGROUP_SIZE": [64, 128, 256] },
"cases": [
{
"name": "unpool-2x-64x64-f32",
"attrs": { "kernel_shape": [2, 2], "strides": [2, 2] },
"inputs": {
"x": { "dtype": "float32", "shape": [1, 8, 64, 64] },
"indices": { "dtype": "uint32", "shape": [1, 8, 64, 64], "min": 0, "max": 131072 },
"output_shape": { "dtype": "uint32", "shape": [4], "data": { "kind": "values", "values": [1, 8, 128, 128] } }
},
"outputs": { "output": { "dtype": "float32", "shape": [1, 8, 128, 128] } }
},
{
"name": "f16_dense_2x_unpool_1x16x128x128_unmeasured",
"preset": "smoke",
"attrs": { "kernel_shape": [2, 2], "strides": [2, 2] },
"inputs": {
"x": { "dtype": "float16", "shape": [1, 16, 128, 128] },
"indices": {
"dtype": "uint32",
"shape": [1, 16, 128, 128],
"data": { "kind": "linspace", "start": 0, "end": 1048575 }
},
"output_shape": { "dtype": "uint32", "shape": [4], "data": { "kind": "values", "values": [1, 16, 256, 256] } }
},
"outputs": { "output": { "dtype": "float16", "shape": [1, 16, 256, 256] } },
"bench": {
"primary": true,
"metrics": [{ "type": "bandwidth", "value": "numel(shapes.output) * 2 + numel(shapes.x) * 8" }]
}
},
{
"name": "f32_dense_2x_unpool_1x16x128x128_sibling",
"preset": "smoke",
"attrs": { "kernel_shape": [2, 2], "strides": [2, 2] },
"inputs": {
"x": { "dtype": "float32", "shape": [1, 16, 128, 128] },
"indices": {
"dtype": "uint32",
"shape": [1, 16, 128, 128],
"data": { "kind": "linspace", "start": 0, "end": 1048575 }
},
"output_shape": { "dtype": "uint32", "shape": [4], "data": { "kind": "values", "values": [1, 16, 256, 256] } }
},
"outputs": { "output": { "dtype": "float32", "shape": [1, 16, 256, 256] } },
"bench": { "metrics": [{ "type": "bandwidth", "value": "numel(shapes.output) * 4 + numel(shapes.x) * 12" }] }
},
{
"name": "f32_sparse_16x_zerofill_dominated_1x8x64x64",
"preset": "smoke",
"attrs": { "kernel_shape": [2, 2], "strides": [2, 2] },
"inputs": {
"x": { "dtype": "float32", "shape": [1, 8, 64, 64] },
"indices": {
"dtype": "uint32",
"shape": [1, 8, 64, 64],
"data": { "kind": "linspace", "start": 0, "end": 524287 }
},
"output_shape": { "dtype": "uint32", "shape": [4], "data": { "kind": "values", "values": [1, 8, 256, 256] } }
},
"outputs": { "output": { "dtype": "float32", "shape": [1, 8, 256, 256] } },
"bench": { "metrics": [{ "type": "bandwidth", "value": "numel(shapes.output) * 4 + numel(shapes.x) * 12" }] }
},
{
"name": "f32_dense_2x_zerofill_lean_1x8x64x64_sibling",
"preset": "smoke",
"attrs": { "kernel_shape": [2, 2], "strides": [2, 2] },
"inputs": {
"x": { "dtype": "float32", "shape": [1, 8, 64, 64] },
"indices": {
"dtype": "uint32",
"shape": [1, 8, 64, 64],
"data": { "kind": "linspace", "start": 0, "end": 131071 }
},
"output_shape": { "dtype": "uint32", "shape": [4], "data": { "kind": "values", "values": [1, 8, 128, 128] } }
},
"outputs": { "output": { "dtype": "float32", "shape": [1, 8, 128, 128] } },
"bench": { "metrics": [{ "type": "bandwidth", "value": "numel(shapes.output) * 4 + numel(shapes.x) * 12" }] }
},
{
"name": "f32_zerofill_dispatch_cliff_over_16m_out",
"preset": "smoke",
"attrs": { "kernel_shape": [1, 1], "strides": [1, 1] },
"inputs": {
"x": { "dtype": "float32", "shape": [1, 1, 1024, 1024] },
"indices": {
"dtype": "uint32",
"shape": [1, 1, 1024, 1024],
"data": { "kind": "linspace", "start": 0, "end": 16781311 }
},
"output_shape": { "dtype": "uint32", "shape": [4], "data": { "kind": "values", "values": [1, 1, 4096, 4097] } }
},
"outputs": { "output": { "dtype": "float32", "shape": [1, 1, 4096, 4097] } },
"bench": { "metrics": [{ "type": "bandwidth", "value": "numel(shapes.output) * 4 + numel(shapes.x) * 12" }] }
},
{
"name": "f32_zerofill_just_under_cliff_sibling",
"preset": "smoke",
"attrs": { "kernel_shape": [1, 1], "strides": [1, 1] },
"inputs": {
"x": { "dtype": "float32", "shape": [1, 1, 1024, 1024] },
"indices": {
"dtype": "uint32",
"shape": [1, 1, 1024, 1024],
"data": { "kind": "linspace", "start": 0, "end": 16769024 }
},
"output_shape": { "dtype": "uint32", "shape": [4], "data": { "kind": "values", "values": [1, 1, 4095, 4095] } }
},
"outputs": { "output": { "dtype": "float32", "shape": [1, 1, 4095, 4095] } },
"bench": { "metrics": [{ "type": "bandwidth", "value": "numel(shapes.output) * 4 + numel(shapes.x) * 12" }] }
},
{
"name": "f32_all_to_slot0_write_contention_1x8x128x128",
"preset": "smoke",
"attrs": { "kernel_shape": [2, 2], "strides": [2, 2] },
"inputs": {
"x": { "dtype": "float32", "shape": [1, 8, 128, 128] },
"indices": { "dtype": "uint32", "shape": [1, 8, 128, 128], "data": { "kind": "constant", "value": 0 } },
"output_shape": { "dtype": "uint32", "shape": [4], "data": { "kind": "values", "values": [1, 8, 256, 256] } }
},
"outputs": { "output": { "dtype": "float32", "shape": [1, 8, 256, 256] } },
"bench": { "metrics": [{ "type": "bandwidth", "value": "numel(shapes.output) * 4 + numel(shapes.x) * 12" }] }
},
{
"name": "f32_spread_scatter_no_contention_sibling",
"preset": "smoke",
"attrs": { "kernel_shape": [2, 2], "strides": [2, 2] },
"inputs": {
"x": { "dtype": "float32", "shape": [1, 8, 128, 128] },
"indices": {
"dtype": "uint32",
"shape": [1, 8, 128, 128],
"data": { "kind": "linspace", "start": 0, "end": 524287 }
},
"output_shape": { "dtype": "uint32", "shape": [4], "data": { "kind": "values", "values": [1, 8, 256, 256] } }
},
"outputs": { "output": { "dtype": "float32", "shape": [1, 8, 256, 256] } },
"bench": { "metrics": [{ "type": "bandwidth", "value": "numel(shapes.output) * 4 + numel(shapes.x) * 12" }] }
}
]
}
|