File tree 1 file changed +3
-4
lines changed 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1158,10 +1158,7 @@ def import_vars(dict):
1158
1158
if str (g ) in dict ["usecublas" ]:
1159
1159
gpu_choice_var .set (str (g + 1 ))
1160
1160
break
1161
- if "gpulayers" in dict and dict ["gpulayers" ]:
1162
- gpulayers_var .set (dict ["gpulayers" ])
1163
-
1164
- if "noavx2" in dict and "noblas" in dict and dict ["noblas" ] and dict ["noavx2" ]:
1161
+ elif "noavx2" in dict and "noblas" in dict and dict ["noblas" ] and dict ["noavx2" ]:
1165
1162
if failsafe_option is not None :
1166
1163
runopts_var .set (failsafe_option )
1167
1164
elif "noavx2" in dict and dict ["noavx2" ]:
@@ -1172,6 +1169,8 @@ def import_vars(dict):
1172
1169
runopts_var .set (default_option )
1173
1170
elif openblas_option is not None :
1174
1171
runopts_var .set (openblas_option )
1172
+ if "gpulayers" in dict and dict ["gpulayers" ]:
1173
+ gpulayers_var .set (dict ["gpulayers" ])
1175
1174
if "blasthreads" in dict and dict ["blasthreads" ]:
1176
1175
blas_threads_var .set (str (dict ["blasthreads" ]))
1177
1176
else :
You can’t perform that action at this time.
0 commit comments