Share explicit target metadata across build/runtime/package guards, preserve native gfx11 WMMA with a Windows LDS lane exchange, select HIP devices by D3D12 LUID, and reject wrong-target/vkd3d installations before changing game files. Review all issue #10 logs and document compile-only coverage plus RX9070XT regressions. Co-authored-by: realdody <[email protected]>
11 lines
434 B
Python
11 lines
434 B
Python
"""Canonical Windows build target registry, shared with CMake and PowerShell."""
|
|
import json
|
|
import pathlib
|
|
|
|
data = json.loads(pathlib.Path(__file__).with_name('gpu-targets.json').read_text())
|
|
if data['schema'] != 1:
|
|
raise RuntimeError('Unsupported GPU target registry schema')
|
|
TARGETS = {row['architecture']: row for row in data['targets']}
|
|
if len(TARGETS) != len(data['targets']):
|
|
raise RuntimeError('Duplicate GPU target')
|