Build native Windows packages for both RDNA4 targets
Add explicit gfx1200/gfx1201 builds, runtime selection and per-target code objects. Guard staging, packaging and installation against mixed architectures; retain gfx1201 compatibility and strict K/M arithmetic. Adapt realdody's target configuration and MSVC binary16/BOOL portability fixes from ae530b0. Do not import its forced gfx12 layout on RDNA3. Add exhaustive binary16 and C++/PowerShell target contract regressions. Validation: 20 CTest gates on RX 9070 XT; four software-only gfx1200 gates; MSVC portability compile checks; exact 4K K async and M control outputs; isolated package install/restore and mixed-target rejection tests. No physical gfx1200 validation is claimed. Co-authored-by: realdody <[email protected]>
This commit is contained in:
1 parent
8f7058d2ba
commit
98de8e3a3e
51 files changed
+636
-127
No files matched your search
@@ -1,6 +1,7 @@
|
||||
# Windows / RDNA4 port
|
||||
|
||||
Branch: `windows-rdna4`. Target: Windows 11 x64, RX 9070 XT, **gfx1201**.
|
||||
Branch: `windows-rdna4`. Native Windows build targets: **gfx1200 / gfx1201**.
|
||||
Validated physical hardware: Windows 11 x64, RX 9070 XT, **gfx1201**.
|
||||
Priority: correct K, correct M, native Windows, same-frame output, then speed.
|
||||
Upstream integration: [PR #11](https://github.com/countervolts/d4r/pull/11)
|
||||
is merged into `countervolts/d4r:windows` at `c522101`.
|
||||
@@ -17,6 +18,16 @@ explicit limits; the validated package keeps conservative arithmetic.
|
||||
|
||||
## Milestone and gates
|
||||
|
||||
2026-10-02 target coverage: gfx1200 and gfx1201 now have separate host/device
|
||||
builds and guarded packages. Both compile; gfx1201 passes 20 CTest gates on
|
||||
RX 9070 XT, and gfx1200 passes four software-only gates. No physical gfx1200
|
||||
test is available. K's new host build passes twelve finite 4K burst/recreation
|
||||
frames with all six async RGB images exact. M's four new-build 4K RGB images
|
||||
exactly match the previous build. The fork audit, adopted MSVC fixes,
|
||||
per-target commands, validation limits and first hardware gate are maintained
|
||||
in [windows-gpu-support.md](windows-gpu-support.md). RDNA3 runtime/layout changes
|
||||
from the reviewed fork are not imported. K performance remains open.
|
||||
|
||||
**Current milestone: K performance remains open.** The latest unprofiled 4K
|
||||
Silent Hill 2 scene capture records 65.250 FPS. Functional K/M and the
|
||||
reproducible archive do not close this gate. Prioritize measured K kernel cost
|
||||
@@ -1496,7 +1507,8 @@ automatically on CUDA failure when `trace/nvcuda.dll` is available. The trace
|
||||
DLL forwards to the real DLL through `ZLUDA_CUDA_LIB`; explicit loading no
|
||||
longer bypasses the trace by accidentally passing the real DLL to the launcher.
|
||||
|
||||
The HIP module compiler uses the selected SDK, fixed `--offload-arch=gfx1201`,
|
||||
The HIP module compiler uses the selected SDK, `--offload-arch=${D4R_GPU_ARCH}`
|
||||
(gfx1201 by default, optionally gfx1200),
|
||||
wave32 and no host/device library dependency. Host code uses the installed HIP
|
||||
header ABI and loads that SDK's `amdhip64_7.dll` by absolute path. CUDA loads the
|
||||
provided ZLUDA DLL by absolute path, matches the adapter against HIP PCI identity,
|
||||
|
||||
Reference in new issue
Block a user