File size: 11,982 Bytes
a0c8d5e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c08917f
a0c8d5e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
{
  "tunableSpace": { "WORKGROUP_SIZE": [64, 128, 256] },
  "cases": [
    {
      "name": "batch4_signal1024_frame256_step128",
      "inputs": {
        "signal": { "dtype": "float32", "shape": [4, 1024, 1] },
        "window": { "dtype": "float32", "shape": [256] }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [4, 7, 129, 2] } },
      "args": { "frameStep": 128 }
    },
    {
      "name": "fft_frame256_signal2048_step128_batch4",
      "preset": "smoke",
      "vars": { "frames": 60, "n": 256, "log2n": 8 },
      "inputs": {
        "signal": { "dtype": "float32", "shape": [4, 2048, 1], "dist": "normal", "seed": 911 },
        "window": { "dtype": "float32", "shape": [256], "dist": "uniform", "seed": 912 }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [4, 15, 129, 2] } },
      "bench": { "metrics": [{ "type": "gflops", "value": "5 * args.frames * args.n * args.log2n" }] },
      "args": { "frameStep": 128 }
    },
    {
      "name": "fft_frame512_signal4096_step256_batch2",
      "preset": "smoke",
      "vars": { "frames": 30, "n": 512, "log2n": 9 },
      "inputs": {
        "signal": { "dtype": "float32", "shape": [2, 4096, 1], "dist": "normal", "seed": 913 },
        "window": { "dtype": "float32", "shape": [512], "dist": "uniform", "seed": 914 }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [2, 15, 257, 2] } },
      "bench": { "metrics": [{ "type": "gflops", "value": "5 * args.frames * args.n * args.log2n" }] },
      "args": { "frameStep": 256 }
    },
    {
      "name": "fft_frame1024_signal131072_step256_audio",
      "preset": "smoke",
      "vars": { "frames": 509, "n": 1024, "log2n": 10 },
      "inputs": {
        "signal": { "dtype": "float32", "shape": [1, 131072, 1], "dist": "normal", "seed": 915 },
        "window": { "dtype": "float32", "shape": [1024], "dist": "uniform", "seed": 916 }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [1, 509, 513, 2] } },
      "bench": { "primary": true, "metrics": [{ "type": "gflops", "value": "5 * args.frames * args.n * args.log2n" }] },
      "args": { "frameStep": 256 }
    },
    {
      "name": "pow2_gate_FFT_win512_signal8192_step160",
      "preset": "smoke",
      "vars": { "batch": 2, "frames": 49, "bins": 257, "n": 512, "log2n": 9 },
      "inputs": {
        "signal": { "dtype": "float32", "shape": [2, 8192, 1], "dist": "normal", "seed": 2001 },
        "window": { "dtype": "float32", "shape": [512], "dist": "uniform", "seed": 2002 }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [2, 49, 257, 2] } },
      "bench": { "metrics": [{ "type": "gflops", "value": "5 * args.batch * args.frames * args.n * args.log2n" }] },
      "args": { "frameStep": 160 }
    },
    {
      "name": "mixed_radix_win480_signal8192_step160_tail15",
      "preset": "smoke",
      "vars": { "batch": 2, "frames": 49, "bins": 241, "n": 480, "log2radix2": 5, "tail": 15 },
      "inputs": {
        "signal": { "dtype": "float32", "shape": [2, 8192, 1], "dist": "normal", "seed": 2001 },
        "window": { "dtype": "float32", "shape": [480], "dist": "uniform", "seed": 2003 }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [2, 49, 241, 2] } },
      "bench": {
        "metrics": [
          {
            "type": "gflops",
            "value": "args.batch * args.frames * (5 * args.n * args.log2radix2 + 8 * args.bins * args.tail)"
          }
        ]
      },
      "args": { "frameStep": 160 }
    },
    {
      "name": "mixed_radix_win400_signal16000_step160_batch4_tail25",
      "preset": "smoke",
      "vars": { "batch": 4, "frames": 98, "bins": 201, "n": 400, "log2radix2": 4, "tail": 25 },
      "inputs": {
        "signal": { "dtype": "float32", "shape": [4, 16000, 1], "dist": "normal", "seed": 2010 },
        "window": { "dtype": "float32", "shape": [400], "dist": "uniform", "seed": 2011 }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [4, 98, 201, 2] } },
      "bench": {
        "metrics": [
          {
            "type": "gflops",
            "value": "args.batch * args.frames * (5 * args.n * args.log2radix2 + 8 * args.bins * args.tail)"
          }
        ]
      },
      "args": { "frameStep": 160 }
    },
    {
      "name": "radix2_win512_signal16000_step160_batch4",
      "preset": "smoke",
      "vars": { "batch": 4, "frames": 97, "bins": 257, "n": 512, "log2n": 9 },
      "inputs": {
        "signal": { "dtype": "float32", "shape": [4, 16000, 1], "dist": "normal", "seed": 2010 },
        "window": { "dtype": "float32", "shape": [512], "dist": "uniform", "seed": 2012 }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [4, 97, 257, 2] } },
      "bench": { "metrics": [{ "type": "gflops", "value": "5 * args.batch * args.frames * args.n * args.log2n" }] },
      "args": { "frameStep": 160 }
    },
    {
      "name": "dispatch_cliff_naive_batch48_frames1397_win512_step160",
      "preset": "stress",
      "vars": { "batch": 48, "frames": 1397, "bins": 257, "n": 512, "log2n": 9, "signalLength": 224000 },
      "inputs": {
        "signal": { "dtype": "float32", "shape": [48, 224000, 1], "dist": "normal", "seed": 2020 },
        "window": { "dtype": "float32", "shape": [512], "dist": "uniform", "seed": 2021 }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [48, 1397, 257, 2] } },
      "bench": {
        "metrics": [
          { "type": "gflops", "value": "5 * args.batch * args.frames * args.n * args.log2n" },
          {
            "type": "bandwidth",
            "value": "4 * (args.batch * args.signalLength + args.n + args.batch * args.frames * args.bins * 2)"
          }
        ]
      },
      "args": { "frameStep": 160 }
    },
    {
      "name": "dispatch_cliff_sibling_FFT_batch32_frames1397_win512_step160",
      "preset": "stress",
      "vars": { "batch": 32, "frames": 1397, "bins": 257, "n": 512, "log2n": 9, "signalLength": 224000 },
      "inputs": {
        "signal": { "dtype": "float32", "shape": [32, 224000, 1], "dist": "normal", "seed": 2020 },
        "window": { "dtype": "float32", "shape": [512], "dist": "uniform", "seed": 2022 }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [32, 1397, 257, 2] } },
      "bench": {
        "metrics": [
          { "type": "gflops", "value": "5 * args.batch * args.frames * args.n * args.log2n" },
          {
            "type": "bandwidth",
            "value": "4 * (args.batch * args.signalLength + args.n + args.batch * args.frames * args.bins * 2)"
          }
        ]
      },
      "args": { "frameStep": 160 }
    },
    {
      "name": "large_window_FFT_win4096_signal131072_step1024",
      "preset": "smoke",
      "vars": { "batch": 1, "frames": 125, "bins": 2049, "n": 4096, "log2n": 12 },
      "inputs": {
        "signal": { "dtype": "float32", "shape": [1, 131072, 1], "dist": "normal", "seed": 2030 },
        "window": { "dtype": "float32", "shape": [4096], "dist": "uniform", "seed": 2031 }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [1, 125, 2049, 2] } },
      "bench": { "metrics": [{ "type": "gflops", "value": "5 * args.batch * args.frames * args.n * args.log2n" }] },
      "args": { "frameStep": 1024 }
    },
    {
      "name": "large_window_FFT_win8192_signal131072_step2048",
      "preset": "stress",
      "vars": { "batch": 1, "frames": 61, "bins": 4097, "n": 8192, "log2n": 13 },
      "inputs": {
        "signal": { "dtype": "float32", "shape": [1, 131072, 1], "dist": "normal", "seed": 2030 },
        "window": { "dtype": "float32", "shape": [8192], "dist": "uniform", "seed": 2033 }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [1, 61, 4097, 2] } },
      "bench": { "metrics": [{ "type": "gflops", "value": "5 * args.batch * args.frames * args.n * args.log2n" }] },
      "args": { "frameStep": 2048 }
    },
    {
      "name": "large_window_sibling_FFT_win2048_signal131072_step1024",
      "preset": "smoke",
      "vars": { "batch": 1, "frames": 127, "bins": 1025, "n": 2048, "log2n": 11 },
      "inputs": {
        "signal": { "dtype": "float32", "shape": [1, 131072, 1], "dist": "normal", "seed": 2030 },
        "window": { "dtype": "float32", "shape": [2048], "dist": "uniform", "seed": 2032 }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [1, 127, 1025, 2] } },
      "bench": { "metrics": [{ "type": "gflops", "value": "5 * args.batch * args.frames * args.n * args.log2n" }] },
      "args": { "frameStep": 1024 }
    },
    {
      "name": "mixed_radix_win1000_tail125_batch2_step250_twosided",
      "preset": "stress",
      "vars": { "batch": 2, "frames": 13, "bins": 1000, "n": 1000 },
      "attrs": { "onesided": 0 },
      "inputs": {
        "signal": { "dtype": "float32", "shape": [2, 4000, 1], "dist": "normal", "seed": 3120 },
        "window": { "dtype": "float32", "shape": [1000], "dist": "uniform", "seed": 3121 }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [2, 13, 1000, 2], "dist": "empty" } },
      "bench": { "metrics": [{ "type": "gflops", "value": "5 * args.batch * args.frames * args.bins * args.n" }] },
      "args": { "frameStep": 250 }
    },
    {
      "name": "tiled_win2047_nonpow2_boundary_batch2_step256",
      "preset": "stress",
      "vars": { "batch": 2, "frames": 30, "bins": 1024, "n": 2047 },
      "inputs": {
        "signal": { "dtype": "float32", "shape": [2, 9471, 1], "dist": "normal", "seed": 3101 },
        "window": { "dtype": "float32", "shape": [2047], "dist": "uniform", "seed": 3102 }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [2, 30, 1024, 2], "dist": "empty" } },
      "bench": { "metrics": [{ "type": "gflops", "value": "5 * args.batch * args.frames * args.bins * args.n" }] },
      "args": { "frameStep": 256 }
    },
    {
      "name": "mixed_radix_win1536_batch4_step384",
      "preset": "stress",
      "vars": { "batch": 4, "frames": 13, "bins": 769, "n": 1536 },
      "inputs": {
        "signal": { "dtype": "float32", "shape": [4, 6144, 1], "dist": "normal", "seed": 3110 },
        "window": { "dtype": "float32", "shape": [1536], "dist": "uniform", "seed": 3111 }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [4, 13, 769, 2], "dist": "empty" } },
      "bench": { "metrics": [{ "type": "gflops", "value": "5 * args.batch * args.frames * args.bins * args.n" }] },
      "args": { "frameStep": 384 }
    },
    {
      "name": "tiled_win513_nonpow2_boundary_batch2_signal8193_step160",
      "preset": "stress",
      "vars": { "batch": 2, "frames": 49, "bins": 257, "n": 513 },
      "attrs": { "onesided": 1 },
      "inputs": {
        "signal": { "dtype": "float32", "shape": [2, 8193, 1], "dist": "normal", "seed": 3120 },
        "window": { "dtype": "float32", "shape": [513], "dist": "uniform", "seed": 3121 }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [2, 49, 257, 2], "dist": "empty" } },
      "bench": { "metrics": [{ "type": "gflops", "value": "5 * args.batch * args.frames * args.bins * args.n" }] },
      "args": { "frameStep": 160 }
    },
    {
      "name": "audio-no-window-frame512-batch8-signal160000-pathology",
      "preset": "stress",
      "provenance": {
        "notes": "Large no-window transform that exercises rank3_no_window; the windowed FFT control isolates the optional-window route gap."
      },
      "vars": { "batch": 8, "frames": 997, "bins": 257, "n": 512, "log2n": 9 },
      "attrs": { "onesided": 1 },
      "inputs": { "signal": { "dtype": "float32", "shape": [8, 160000, 1], "dist": "normal", "seed": 3130 } },
      "outputs": { "output": { "dtype": "float32", "shape": [8, 997, 257, 2], "dist": "empty" } },
      "bench": { "metrics": [{ "type": "gflops", "value": "5 * args.batch * args.frames * args.n * args.log2n" }] },
      "args": { "frameStep": 160, "frameLength": 512 }
    }
  ]
}