Files
Strata/tests
Niko1221 e46fd29a0a serve telemetry: the Windows AMD reader reads only AMD adapters and only the engine's own card (#4884 follow-up)
Found by the Linux suites (Boston) and a Windows run of tools/test_windows_amd_gpu.py on a PC with an
NVIDIA card beside an AMD iGPU:
- ADL's adapter list can hold another vendor's adapter: rows without VEN_1002 / vendor 0x1002 are
  never a card (the Monitor named the RTX 5070 as the AMD card).
- an ADL row is used only when its name matches the registry's name of HIP's card (no positional
  fallback when the registry lists AMD cards): otherwise the Monitor shows what it showed before.
- _Adl loads atiadlxx.dll only on a real Windows (sys.platform win32 too): a test that sets
  os.name to nt on Linux reached ctypes' Windows branch (ModuleNotFoundError: nt).
- tests/terminal/test_no_debugger_children.py lists the new PowerShell spawn site of serve/telemetry.py.
Tests: serve/test_telemetry_adl.py (vendor filter, no match = no reading), tools/test_windows_amd_gpu.py,
test_no_debugger_children, test_monitor, test_prometheus: 55 passed.
2026-11-16 18:47:03 +01:00
..