[PR #1061] [MERGED] Report the native D3D12 pipeline library test adapter (TEST-PIPELINE-LIBRARY-HOST-ADAPTER) #1098

Closed
opened 2026-11-26 20:20:05 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1061
Author: @sodove
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/25/2026
Merged by: @QemmHD

Base: main ← Head: test/pipeline-library-host-adapter


📝 Commits (1)

  • 3ced903 Report the native pipeline-library test adapter (TEST-PIPELINE-LIBRARY-HOST-ADAPTER)

📊 Changes

1 file changed (+18 additions, -0 deletions)

View changed files

📝 runtime/test/d3d12_pipeline_library_host_test.cpp (+18 -0)

📄 Description

Claimed as TEST-PIPELINE-LIBRARY-HOST-ADAPTER in #14. Related discussion: host adapter verification in #533.

What and why

The pipeline-library parity test prints the Vulkan GPU. Windows chooses the native host independently when the test calls D3D12CreateDevice(nullptr, ...). On a multi-GPU machine the two runs in the #533 discussion initially measured the same host adapter, which took an external probe to establish.

Print the name and LUID of the main process's native device once, immediately after creation. Resolve the name through DXGI using the LUID returned by that device. A failed description lookup still reports the LUID. The child processes keep their existing machine-readable output.

Tested

  • Windows 11 build 26100.7623, MSVC 19.44, RelWithDebInfo. The stock test on an NVIDIA RTX 5070 Ti (610.74) printed one host adapter line and completed 74 comparisons with zero mismatches. Its --host-step control emitted only the result record.
  • A separate local probe exercised the same reporter with the default D3D12 device and an explicitly created WARP device. Both name/LUID pairs matched independent DXGI enumeration and differed from one another. Hardware coverage was one physical GPU.
  • Translator semantic suite on the shared base: 6,168 tests across 470 files, zero failing files.
  • The game-data check passed for the changed source file.

AI-assisted: yes, OpenAI Codex.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1061 **Author:** [@sodove](https://github.com/sodove) **Created:** 11/24/2026 **Status:** ✅ Merged **Merged:** 11/25/2026 **Merged by:** [@QemmHD](https://github.com/QemmHD) **Base:** `main` ← **Head:** `test/pipeline-library-host-adapter` --- ### 📝 Commits (1) - [`3ced903`](https://github.com/ubiquitarianism/leonida/commit/3ced90392976ad370dca051a7bc0608c80cdcf2d) Report the native pipeline-library test adapter (TEST-PIPELINE-LIBRARY-HOST-ADAPTER) ### 📊 Changes **1 file changed** (+18 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `runtime/test/d3d12_pipeline_library_host_test.cpp` (+18 -0) </details> ### 📄 Description Claimed as `TEST-PIPELINE-LIBRARY-HOST-ADAPTER` in [#14](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7139030018). Related discussion: [host adapter verification in #533](https://github.com/ubiquitarianism/leonida/pull/533#issuecomment-7136883478). ### What and why The pipeline-library parity test prints the Vulkan GPU. Windows chooses the native host independently when the test calls `D3D12CreateDevice(nullptr, ...)`. On a multi-GPU machine the two runs in the #533 discussion initially measured the same host adapter, which took an external probe to establish. Print the name and LUID of the main process's native device once, immediately after creation. Resolve the name through DXGI using the LUID returned by that device. A failed description lookup still reports the LUID. The child processes keep their existing machine-readable output. ### Tested - Windows 11 build 26100.7623, MSVC 19.44, RelWithDebInfo. The stock test on an NVIDIA RTX 5070 Ti (610.74) printed one host adapter line and completed 74 comparisons with zero mismatches. Its `--host-step` control emitted only the result record. - A separate local probe exercised the same reporter with the default D3D12 device and an explicitly created WARP device. Both name/LUID pairs matched independent DXGI enumeration and differed from one another. Hardware coverage was one physical GPU. - Translator semantic suite on the shared base: 6,168 tests across 470 files, zero failing files. - The game-data check passed for the changed source file. AI-assisted: yes, OpenAI Codex. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:20:05 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#1098
No description provided.