fix for incorrect missing backends displayed
This commit is contained in:
parent
075d079a72
commit
36b0c5b398
1 changed files with 2 additions and 2 deletions
|
@ -722,8 +722,8 @@ def show_new_gui():
|
||||||
blasbatchsize_values = ["-1", "32", "64", "128", "256", "512", "1024", "2048"]
|
blasbatchsize_values = ["-1", "32", "64", "128", "256", "512", "1024", "2048"]
|
||||||
blasbatchsize_text = ["Don't Batch BLAS","32","64","128","256","512","1024","2048"]
|
blasbatchsize_text = ["Don't Batch BLAS","32","64","128","256","512","1024","2048"]
|
||||||
contextsize_text = ["512", "1024", "2048", "3072", "4096", "6144", "8192", "12288", "16384"]
|
contextsize_text = ["512", "1024", "2048", "3072", "4096", "6144", "8192", "12288", "16384"]
|
||||||
runopts = [opt for lib, opt in lib_option_pairs if file_exists(lib) or os.name == 'nt' and file_exists(opt + ".dll")]
|
runopts = [opt for lib, opt in lib_option_pairs if file_exists(lib)]
|
||||||
antirunopts = [opt.replace("Use ", "") for lib, opt in lib_option_pairs if not file_exists(lib) or os.name == 'nt' and not file_exists(opt + ".dll")]
|
antirunopts = [opt.replace("Use ", "") for lib, opt in lib_option_pairs if not (opt in runopts)]
|
||||||
if not any(runopts):
|
if not any(runopts):
|
||||||
show_gui_warning("No Backend Available")
|
show_gui_warning("No Backend Available")
|
||||||
def tabbuttonaction(name):
|
def tabbuttonaction(name):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue