SIGN IN SIGN UP

fix: skip integrated GPU in IGCL enumeration to prevent duplicate hardware entries (#2217)

IGCL's ctlEnumerateDevices returns all Intel graphics devices including
the integrated GPU, but IntelDiscreteGpu was created for every device
without filtering. This caused the iGPU to appear twice: once from the
IGCL path (as IntelDiscreteGpu) and once from the D3D path (as
IntelIntegratedGpu), with overlapping sensors.

Check the CTL_ADAPTER_PROPERTIES_FLAG_INTEGRATED flag on each device's
graphics_adapter_properties and skip integrated adapters, since they are
already handled by IntelIntegratedGpu via D3D enumeration.

Co-authored-by: Cursor <cursoragent@cursor.com>
K
kyranmcdonnell committed
1564a69c52d09eacbc1485e1270b59e9d1a4dae0
Parent: e2e0d1c
Committed by GitHub <noreply@github.com> on 2/13/2026, 5:16:37 PM