Skip to content

Commit 2d5e122

Browse files
gwoltmanpreda
authored andcommitted
Fixed bug where an AMD-only FFT variant (000) was chosen whenever no useful FFT spec could be found in tune.txt
1 parent d1e99e4 commit 2d5e122

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FFTConfig.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ FFTConfig FFTConfig::bestFit(const Args& args, u32 E, const string& spec) {
251251

252252
// Take the first FFT that can handle E
253253
for (const FFTShape& shape : FFTShape::allShapes()) {
254-
for (u32 v = 0; v < 4; ++v) {
254+
for (u32 v : {101, 202}) {
255255
if (FFTConfig fft{shape, v, CARRY_AUTO}; fft.maxExp() * args.fftOverdrive >= E) { return fft; }
256256
}
257257
}

0 commit comments

Comments
 (0)