updated lite

This commit is contained in:
Concedo 2024-09-12 10:47:47 +08:00
parent 13394368b6
commit 5b658ab6d4
2 changed files with 43 additions and 44 deletions

View file

@ -712,6 +712,7 @@ def autoset_gpu_layers(ctxsize,sdquanted,bbs): #shitty algo to determine how man
def fetch_gpu_properties(testCL,testCU,testVK):
import subprocess
time.sleep(0.1)
if testCL:
try: # Get OpenCL GPU names on windows using a special binary. overwrite at known index if found.
basepath = os.path.abspath(os.path.dirname(__file__))