File size: 5,623 Bytes
0f561dd 251f6ea 0f561dd 251f6ea 0f561dd 2bff545 0f561dd 2bff545 0f561dd 8472598 0f561dd 8472598 0f561dd | 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 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 | {
"tunableSpace": {},
"cases": [
{
"name": "f32_1024_capacity",
"inputs": {
"x": {
"dtype": "float32",
"shape": [1024],
"data": { "kind": "fillFloat32", "sinStep": 0.01, "cosStep": 0.02 }
}
},
"outputs": { "y": { "dtype": "uint32", "shape": [1, 1024] } }
},
{
"name": "nonzero-rank2-u32-1m",
"preset": "smoke",
"inputs": { "x": { "dtype": "uint32", "shape": [1024, 1024], "dist": "linearMod", "mod": 4 } },
"outputs": { "y": { "dtype": "uint32", "shape": [2, 786432] } },
"bench": {
"primary": true,
"metrics": [
{
"type": "bandwidth",
"value": "4 * numel(shapes.x) + 4 * numel(shapes.y) + 4 * (4 * ceilDiv(numel(shapes.x), 4) + 5 * ceilDiv(numel(shapes.x), 1024))"
}
]
}
},
{
"name": "nonzero-exact-capacity-1024-f32",
"preset": "smoke",
"provenance": {
"notes": "An all-nonzero 1024-element input measures NonZero at a block boundary. The bandwidth metric counts logical input, output and scan-scratch traffic."
},
"inputs": { "x": { "dtype": "float32", "shape": [1024], "dist": "constant", "value": 1 } },
"outputs": { "y": { "dtype": "uint32", "shape": [1, 1024] } },
"bench": {
"metrics": [
{
"type": "bandwidth",
"value": "4 * numel(shapes.x) + 4 * numel(shapes.y) + 4 * (4 * ceilDiv(numel(shapes.x), 4) + 5 * ceilDiv(numel(shapes.x), 1024))"
}
]
}
},
{
"name": "nonzero-parallel-1280-f32-control",
"preset": "smoke",
"inputs": { "x": { "dtype": "float32", "shape": [1280], "dist": "constant", "value": 1 } },
"outputs": { "y": { "dtype": "uint32", "shape": [1, 1280] } },
"bench": {
"metrics": [
{
"type": "bandwidth",
"value": "4 * numel(shapes.x) + 4 * numel(shapes.y) + 4 * (4 * ceilDiv(numel(shapes.x), 4) + 5 * ceilDiv(numel(shapes.x), 1024))"
}
]
}
},
{
"name": "nonzero-rank2-f32-1m-dense-100pct",
"preset": "smoke",
"inputs": { "x": { "dtype": "float32", "shape": [1024, 1024], "dist": "constant", "value": 1 } },
"outputs": { "y": { "dtype": "uint32", "shape": [2, 1048576] } },
"bench": {
"metrics": [
{
"type": "bandwidth",
"value": "4 * numel(shapes.x) + 4 * numel(shapes.y) + 4 * (4 * ceilDiv(numel(shapes.x), 4) + 5 * ceilDiv(numel(shapes.x), 1024))"
}
]
}
},
{
"name": "nonzero-rank2-f16-1m-dense",
"preset": "smoke",
"inputs": { "x": { "dtype": "float16", "shape": [1024, 1024], "dist": "constant", "value": 1 } },
"outputs": { "y": { "dtype": "uint32", "shape": [2, 1048576] } },
"bench": {
"metrics": [
{
"type": "bandwidth",
"value": "2 * numel(shapes.x) + 4 * numel(shapes.y) + 4 * (4 * ceilDiv(numel(shapes.x), 4) + 5 * ceilDiv(numel(shapes.x), 1024))"
}
]
}
},
{
"name": "nonzero-dispatch-cliff-16m-f32-sparse",
"preset": "smoke",
"inputs": {
"x": {
"dtype": "float32",
"shape": [4096, 4096],
"data": {
"kind": "cycle",
"values": [1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
}
}
},
"outputs": { "y": { "dtype": "uint32", "shape": [2, 1048576] } },
"bench": {
"metrics": [
{
"type": "bandwidth",
"value": "4 * numel(shapes.x) + 4 * numel(shapes.y) + 4 * (4 * ceilDiv(numel(shapes.x), 4) + 5 * ceilDiv(numel(shapes.x), 1024))"
}
]
}
},
{
"name": "nonzero-2dfold-boundary-16m-int32-exact",
"preset": "stress",
"inputs": { "x": { "dtype": "int32", "shape": [4096, 4097], "dist": "uniform", "seed": 7, "min": 1, "max": 3 } },
"outputs": { "y": { "dtype": "uint32", "shape": [2, 16781312] } },
"bench": {
"metrics": [
{
"type": "bandwidth",
"value": "4 * numel(shapes.x) + 4 * numel(shapes.y) + 4 * (4 * ceilDiv(numel(shapes.x), 4) + 5 * ceilDiv(numel(shapes.x), 1024))"
}
]
}
},
{
"name": "nonzero-rank4-u32-1x32x512x512-exact-activation",
"preset": "stress",
"inputs": { "x": { "dtype": "uint32", "shape": [1, 32, 512, 512], "dist": "linearMod", "mod": 16 } },
"outputs": { "y": { "dtype": "uint32", "shape": [4, 7864320] } },
"bench": {
"metrics": [
{
"type": "bandwidth",
"value": "4 * numel(shapes.x) + 4 * numel(shapes.y) + 4 * (4 * ceilDiv(numel(shapes.x), 4) + 5 * ceilDiv(numel(shapes.x), 1024))"
}
]
}
},
{
"name": "nonzero-rank3-u32-32x512x512-exact-activation",
"preset": "stress",
"provenance": {
"notes": "A rank-3 activation tensor writes three coordinate streams and exercises the rank-dependent items-per-thread policy at 50% density."
},
"inputs": { "x": { "dtype": "uint32", "shape": [32, 512, 512], "dist": "linearMod", "mod": 16 } },
"outputs": { "y": { "dtype": "uint32", "shape": [3, 7864320] } },
"bench": {
"metrics": [
{
"type": "bandwidth",
"value": "4 * numel(shapes.x) + 4 * numel(shapes.y) + 4 * (4 * ceilDiv(numel(shapes.x), 4) + 5 * ceilDiv(numel(shapes.x), 1024))"
}
]
}
}
]
}
|