File size: 9,273 Bytes
0feea6e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
{
  "op": "ai.onnx.AveragePool",
  "tunableSpace": { "WORKGROUP_SIZE": [64, 128, 256] },
  "cases": [
    {
      "name": "average-pool-f32-b1c32-64x64-k2s2",
      "preset": "smoke",
      "vars": { "batch": 1, "channels": 32, "inH": 64, "inW": 64 },
      "attrs": { "kernel_shape": [2, 2], "strides": [2, 2], "pads": [0, 0, 0, 0] },
      "inputs": { "x": { "shape": [1, 32, 64, 64], "dtype": "float32", "dist": "normal", "seed": 116, "scale": 0.2 } },
      "outputs": { "y": { "shape": [1, 32, 32, 32], "dtype": "float32" } },
      "bench": {
        "primary": true,
        "metrics": [{ "type": "bandwidth", "value": "args.batch * args.channels * args.inH * args.inW * 4" }]
      }
    },
    {
      "name": "nchw_8x64x112x112_k3s1p1_unrolled",
      "preset": "smoke",
      "vars": { "batch": 8, "channels": 64, "inH": 112, "inW": 112 },
      "attrs": { "kernel_shape": [3, 3], "strides": [1, 1], "pads": [1, 1, 1, 1] },
      "inputs": { "x": { "dtype": "float32", "shape": [8, 64, 112, 112], "dist": "normal", "seed": 205 } },
      "outputs": { "y": { "dtype": "float32", "shape": [8, 64, 112, 112], "dist": "empty" } },
      "bench": {
        "primary": true,
        "metrics": [{ "type": "bandwidth", "value": "args.batch * args.channels * args.inH * args.inW * 4 * 2" }]
      }
    },
    {
      "name": "nchw_f16_8x64x112x112_k3s1p1_unrolled",
      "preset": "smoke",
      "vars": { "batch": 8, "channels": 64, "inH": 112, "inW": 112 },
      "attrs": { "kernel_shape": [3, 3], "strides": [1, 1], "pads": [1, 1, 1, 1] },
      "inputs": { "x": { "dtype": "float16", "shape": [8, 64, 112, 112], "dist": "normal", "seed": 206 } },
      "outputs": { "y": { "dtype": "float16", "shape": [8, 64, 112, 112], "dist": "empty" } },
      "bench": {
        "metrics": [{ "type": "bandwidth", "value": "args.batch * args.channels * args.inH * args.inW * 2 * 2" }]
      }
    },
    {
      "name": "average-pool-f32-b1c64-224x224-k7s2p3-generic",
      "preset": "smoke",
      "vars": { "batch": 1, "channels": 64, "inH": 224, "inW": 224 },
      "attrs": { "count_include_pad": 0, "kernel_shape": [7, 7], "strides": [2, 2], "pads": [3, 3, 3, 3] },
      "inputs": { "x": { "dtype": "float32", "shape": [1, 64, 224, 224], "dist": "normal", "seed": 311, "scale": 0.2 } },
      "outputs": { "y": { "dtype": "float32", "shape": [1, 64, 112, 112], "dist": "empty" } },
      "bench": { "metrics": [{ "type": "bandwidth", "value": "args.batch * args.channels * args.inH * args.inW * 4" }] }
    },
    {
      "name": "average-pool-f16-b1c64-224x224-k7s2p3-generic",
      "preset": "smoke",
      "vars": { "batch": 1, "channels": 64, "inH": 224, "inW": 224 },
      "attrs": { "count_include_pad": 0, "kernel_shape": [7, 7], "strides": [2, 2], "pads": [3, 3, 3, 3] },
      "inputs": { "x": { "dtype": "float16", "shape": [1, 64, 224, 224], "dist": "normal", "seed": 312, "scale": 0.2 } },
      "outputs": { "y": { "dtype": "float16", "shape": [1, 64, 112, 112], "dist": "empty" } },
      "bench": { "metrics": [{ "type": "bandwidth", "value": "args.batch * args.channels * args.inH * args.inW * 2" }] }
    },
    {
      "name": "average-pool-f32-b8c64-112x114-k3s1p1-unaligned-fallback",
      "preset": "smoke",
      "vars": { "batch": 8, "channels": 64, "inH": 112, "inW": 114 },
      "attrs": { "count_include_pad": 0, "kernel_shape": [3, 3], "strides": [1, 1], "pads": [1, 1, 1, 1] },
      "inputs": { "x": { "dtype": "float32", "shape": [8, 64, 112, 114], "dist": "normal", "seed": 313, "scale": 0.2 } },
      "outputs": { "y": { "dtype": "float32", "shape": [8, 64, 112, 114], "dist": "empty" } },
      "bench": {
        "metrics": [{ "type": "bandwidth", "value": "args.batch * args.channels * args.inH * args.inW * 4 * 2" }]
      }
    },
    {
      "name": "average-pool-f32-ncdhw-b1c32-32x64x64-k2s2-3d",
      "preset": "smoke",
      "vars": { "batch": 1, "channels": 32, "inD": 32, "inH": 64, "inW": 64 },
      "attrs": { "count_include_pad": 0, "kernel_shape": [2, 2, 2], "strides": [2, 2, 2], "pads": [0, 0, 0, 0, 0, 0] },
      "inputs": {
        "x": { "dtype": "float32", "shape": [1, 32, 32, 64, 64], "dist": "normal", "seed": 314, "scale": 0.2 }
      },
      "outputs": { "y": { "dtype": "float32", "shape": [1, 32, 16, 32, 32], "dist": "empty" } },
      "bench": {
        "metrics": [{ "type": "bandwidth", "value": "args.batch * args.channels * args.inD * args.inH * args.inW * 4" }]
      }
    },
    {
      "name": "average-pool-f32-ncl-b8c256-1024-k3s2-1d",
      "preset": "smoke",
      "vars": { "batch": 8, "channels": 256, "inW": 1024 },
      "attrs": { "count_include_pad": 0, "kernel_shape": [3], "strides": [2], "pads": [0, 0] },
      "inputs": { "x": { "dtype": "float32", "shape": [8, 256, 1024], "dist": "normal", "seed": 315, "scale": 0.2 } },
      "outputs": { "y": { "dtype": "float32", "shape": [8, 256, 511], "dist": "empty" } },
      "bench": { "metrics": [{ "type": "bandwidth", "value": "args.batch * args.channels * args.inW * 4" }] }
    },
    {
      "name": "global_avg_pool_bigkernel_tiny_output_launch_starved_stress",
      "preset": "stress",
      "vars": { "batch": 1, "channels": 512, "inH": 64, "inW": 64 },
      "attrs": { "count_include_pad": 0, "kernel_shape": [64, 64], "strides": [1, 1], "pads": [0, 0, 0, 0] },
      "inputs": { "x": { "dtype": "float32", "shape": [1, 512, 64, 64], "dist": "normal", "seed": 4101, "scale": 0.2 } },
      "outputs": { "y": { "dtype": "float32", "shape": [1, 512, 1, 1], "dist": "empty" } },
      "bench": { "metrics": [{ "type": "bandwidth", "value": "args.batch * args.channels * args.inH * args.inW * 4" }] }
    },
    {
      "name": "global-avg-pool-f32-b2c256-96x96-segmentation-head",
      "preset": "stress",
      "vars": { "batch": 2, "channels": 256, "inH": 96, "inW": 96 },
      "attrs": { "count_include_pad": 0, "kernel_shape": [96, 96], "strides": [1, 1], "pads": [0, 0, 0, 0] },
      "inputs": { "x": { "dtype": "float32", "shape": [2, 256, 96, 96], "dist": "normal", "seed": 4103, "scale": 0.2 } },
      "outputs": { "y": { "dtype": "float32", "shape": [2, 256, 1, 1], "dist": "empty" } },
      "bench": {
        "primary": true,
        "metrics": [{ "type": "bandwidth", "value": "args.batch * args.channels * args.inH * args.inW * 4" }]
      }
    },
    {
      "name": "nchw2d_generic_k7s1_overlap_reread_large_map_stress",
      "preset": "stress",
      "vars": { "batch": 4, "channels": 64, "inH": 128, "inW": 128 },
      "attrs": { "count_include_pad": 0, "kernel_shape": [7, 7], "strides": [1, 1], "pads": [3, 3, 3, 3] },
      "inputs": {
        "x": { "dtype": "float32", "shape": [4, 64, 128, 128], "dist": "normal", "seed": 4102, "scale": 0.2 }
      },
      "outputs": { "y": { "dtype": "float32", "shape": [4, 64, 128, 128], "dist": "empty" } },
      "bench": {
        "metrics": [{ "type": "bandwidth", "value": "args.batch * args.channels * args.inH * args.inW * 4 * 2" }]
      }
    },
    {
      "name": "average-pool-k7s1p3-f32-b2c128-96x96-segmentation-context",
      "preset": "stress",
      "vars": { "batch": 2, "channels": 128, "inH": 96, "inW": 96 },
      "attrs": { "count_include_pad": 0, "kernel_shape": [7, 7], "strides": [1, 1], "pads": [3, 3, 3, 3] },
      "inputs": { "x": { "dtype": "float32", "shape": [2, 128, 96, 96], "dist": "normal", "seed": 4104, "scale": 0.2 } },
      "outputs": { "y": { "dtype": "float32", "shape": [2, 128, 96, 96], "dist": "empty" } },
      "bench": {
        "primary": true,
        "metrics": [{ "type": "bandwidth", "value": "args.batch * args.channels * args.inH * args.inW * 4 * 2" }]
      }
    },
    {
      "name": "average-pool-k7s1p3-f32-b1c64-112x113-odd-width-cliff",
      "preset": "stress",
      "vars": { "batch": 1, "channels": 64, "inH": 112, "inW": 113 },
      "attrs": { "count_include_pad": 0, "kernel_shape": [7, 7], "strides": [1, 1], "pads": [3, 3, 3, 3] },
      "inputs": {
        "x": { "dtype": "float32", "shape": [1, 64, 112, 113], "dist": "normal", "seed": 4105, "scale": 0.2 }
      },
      "outputs": { "y": { "dtype": "float32", "shape": [1, 64, 112, 113], "dist": "empty" } },
      "bench": {
        "metrics": [{ "type": "bandwidth", "value": "args.batch * args.channels * args.inH * args.inW * 4 * 2" }]
      }
    },
    {
      "name": "global-averagepool-rank5-serial-reduction-pathology",
      "preset": "stress",
      "provenance": {
        "source": "authored for variant coverage",
        "notes": "Rank-5 global pooling over 131072 spatial values per plane verifies global_window_parallel coverage and its feature-tier fallbacks."
      },
      "vars": { "batch": 1, "channels": 32, "inD": 32, "inH": 64, "inW": 64 },
      "attrs": {
        "count_include_pad": 0,
        "kernel_shape": [32, 64, 64],
        "strides": [1, 1, 1],
        "pads": [0, 0, 0, 0, 0, 0]
      },
      "inputs": {
        "x": { "dtype": "float32", "shape": [1, 32, 32, 64, 64], "dist": "normal", "seed": 5101, "scale": 0.2 }
      },
      "outputs": { "y": { "dtype": "float32", "shape": [1, 32, 1, 1, 1], "dist": "empty" } },
      "bench": {
        "metrics": [{ "type": "bandwidth", "value": "args.batch * args.channels * args.inD * args.inH * args.inW * 4" }]
      }
    }
  ]
}