Skip to content

Commit 8acb278

Browse files
committed
v0.2.1: L2 blocks = SM count * 8 for desktop/laptop RTX 50
1 parent b8599cd commit 8acb278

1 file changed

Lines changed: 16 additions & 14 deletions

File tree

‎src/xbar5090/l2test.py‎

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -68,25 +68,27 @@ def _gpu_blocks() -> int:
6868
except Exception:
6969
name = ""
7070
laptop = "laptop" in name
71+
# blocks = SM count * 8 (upper end of Loong0x00's 4-8 blocks/SM guidance).
72+
# SM counts from user-provided spec table (2026-08).
7173
if laptop:
7274
table = [
73-
("5090", 640),
74-
("5080", 512),
75-
("5070 ti", 384),
76-
("5070", 320),
77-
("5060 ti", 256),
78-
("5060", 256),
79-
("5050", 192),
75+
("5090", 82 * 8), # 656
76+
("5080", 64 * 8), # 512 (60/64 controversy, 64 likely)
77+
("5070 ti", 46 * 8), # 368
78+
("5070", 36 * 8), # 288
79+
("5060 ti", 26 * 8), # 208
80+
("5060", 26 * 8), # 208
81+
("5050", 20 * 8), # 160
8082
]
8183
else:
8284
table = [
83-
("5090", 1360),
84-
("5080", 800),
85-
("5070 ti", 640),
86-
("5070", 480),
87-
("5060 ti", 384),
88-
("5060", 320),
89-
("5050", 256),
85+
("5090", 170 * 8), # 1360 (also 5090 D / D v2)
86+
("5080", 84 * 8), # 672
87+
("5070 ti", 70 * 8), # 560
88+
("5070", 48 * 8), # 384
89+
("5060 ti", 36 * 8), # 288
90+
("5060", 30 * 8), # 240
91+
("5050", 20 * 8), # 160
9092
]
9193
for key, blocks in table:
9294
if key in name:

0 commit comments

Comments
 (0)