Debug CMP170

This commit is contained in:
empresa 2025-10-16 00:05:17 +07:00
parent b8ef86c020
commit 73b9bacbd8
1 changed files with 7 additions and 1 deletions

View File

@ -273,8 +273,14 @@ def get_gpu_info():
parts = [s.strip() for s in line.split(',')]
if len(parts)>12 and index>0:
gpu_name = parts[1]
print("gpu name 1")
print(gpu_name)
print("part 13")
print(parts[13])
if gpu_name == "NVIDIA Graphics Device" and parts[13] in GPU_ID_TO_NAME:
gpu_name = GPU_ID_TO_NAME[parts[13]]
print("gpu name 2")
print(gpu_name)
xl_gpu_info={
"id":index-1,