DRAFT: Add Zstd GPU CI test infrastructure (Phase 1)#106
Open
brohan203 wants to merge 1 commit into
Open
Conversation
Add zstdgpu_ci_tests: a thin GTest wrapper that shells out to zstdgpu_demo.exe for correctness and performance validation of GPU Zstd decompression. Tests are parameterized over .zst content files discovered at runtime via --content-path. Test cases: - SimulationCheck (--chk-gpu --chk-cpu --sim-gpu) - D3D12DebugLayer (--d3d-dbg) - ExternalMemory (--ext-mem) - GraphicsQueue (--d3d-gfx) - OverallThroughput (--prf-lvl 0) - PerStageTiming (--prf-lvl 2) Also adds scripts/generate_histogram.py for converting performance CSV output into histogram PNGs suitable for CI reporting. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Author
@microsoft-github-policy-service agree company="Microsoft" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft - not ready for merge. Putting this up for early visibility and code review.
Adds a thin GTest wrapper (
zstdgpu_ci_tests) that shells out tozstdgpu_demo.exeto validate Zstd GPU decompression shaders in CI. Also adds pipeline YAML and a histogram generation script for perf results.What's here
zstd/zstdgpu_ci_tests/— GTest parameterized test fileszstd/scripts/generate_histogram.py— Generates histogram PNGs from perf CSV output. This can probably be improvedOpen Q's
What's not here
zstdgpu_demo.exe. ATG owns. This PR does not include--output-csvflag and non-zero exit code changesATG dependencies
--output-csvflag onzstdgpu_demo.exefor perf CSV outputzstdgpu_demo.exewhen validation fails (correctness tests currently pass vacuously)