Files
d4r/packaging/build/Dockerfile.glibc241
ayo b645ef9096 Add DLSS accuracy mode and GLIBC 2.41 release builds
- Add default-off PreferAccuracy for all native kernel families,
  including RDNA4 FP8 variants.

- Restore intermediate FP8 quantization, per-MMA FP16 rounding,
  denormal handling and NGX synchronization in accuracy mode.

- Select separately marked accuracy kernels and use a separate JIT
  cache; reject mixed sets and never silently substitute fast kernels.

- Add a pinned GLIBC 2.41 build environment for ZLUDA/LLVM, the DLLs
  and both kernel sets, with ABI checks and toolchain provenance.

- Support parallel target builds and pre-extracted PTX; correct
  ROCm header paths and Clang-CL input handling.

- Bump to 0.1.3 and update release notes, documentation and tests.

Validation: 11 tests passed; all 912 kernels built; E/K/M GPU harness
runs completed with accuracy off/on. Packaged libraries loaded under
GLIBC 2.41 and require no GLIBC version newer than 2.38.

RTX image-quality parity remains unverified.

Fixes #6
Refs #6
2026-10-01 01:35:39 -04:00

20 lines
1006 B
Docker

FROM debian:trixie-slim@sha256:a99cfc517144bc59b1978475ec53b46ecabec7e43635402ee5b77cc54cd1b20a
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
build-essential clang cmake ninja-build pkg-config libssl-dev python3 python3-numpy \
git git-lfs wine64-tools libwine-dev gcc-mingw-w64-x86-64-posix \
g++-mingw-w64-x86-64-posix meson libvulkan-dev zip unzip ca-certificates \
&& rm -rf /var/lib/apt/lists/*
# ROCm loads the system's AMD DRM library even for the CPU-only loader check.
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
libdrm-amdgpu1 libdrm2 mingw-w64-tools glslang-tools spirv-tools \
&& rm -rf /var/lib/apt/lists/*
RUN ln -s /usr/lib/wine/winegcc /usr/local/bin/winegcc \
&& ln -s /usr/lib/wine/winebuild /usr/local/bin/winebuild \
&& ln -s /usr/bin/clang-19 /usr/local/bin/clang-cl \
&& useradd --uid 1000 --create-home builder
USER builder
WORKDIR /work