disable mmap when failsafe mode selected from GUI
This commit is contained in:
parent
b314cbfb60
commit
d04b3bbe5e
1 changed files with 3 additions and 3 deletions
|
@ -115,8 +115,6 @@ def init_library():
|
||||||
libname = lib_openblas_noavx2
|
libname = lib_openblas_noavx2
|
||||||
else:
|
else:
|
||||||
libname = lib_failsafe
|
libname = lib_failsafe
|
||||||
args.nommap = True
|
|
||||||
print("[Failsafe Mode : mmap is disabled.]")
|
|
||||||
else:
|
else:
|
||||||
if use_clblast:
|
if use_clblast:
|
||||||
libname = lib_clblast
|
libname = lib_clblast
|
||||||
|
@ -499,6 +497,8 @@ def show_gui():
|
||||||
if selchoice==opts[6]:
|
if selchoice==opts[6]:
|
||||||
args.noavx2 = True
|
args.noavx2 = True
|
||||||
args.noblas = True
|
args.noblas = True
|
||||||
|
args.nommap = True
|
||||||
|
print("[Failsafe Mode : mmap is disabled.]")
|
||||||
|
|
||||||
root = tk.Tk()
|
root = tk.Tk()
|
||||||
root.attributes("-alpha", 0)
|
root.attributes("-alpha", 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue