Expand description
P7.4 — GPU colour-projection / gamut batch kernel + CPU oracle. P7.4 — GPU colour-projection / gamut batch kernel + CPU oracle.
Structs§
- GpuBuffer
Layout - Buffer layout specification for the GPU kernel.
Constants§
- DIFF_
TOLERANCE_ U8 - Tolerance for CPU vs GPU differential comparison. f32 rounding in the GPU kernel may produce ±1 LSB differences in the 8-bit output.
- GPU_
COLOUR_ KERNEL_ WGSL - WGSL shader source for the GPU colour-projection batch kernel.
Functions§
- cpu_
batch_ emf_ to_ display_ gamut_ mapped - CPU oracle: process a batch of EMF payloads through the full colour pipeline and produce gamut-mapped 8-bit display RGB.
- cpu_
batch_ emf_ to_ xyz - CPU oracle: process a batch of EMF payloads and produce XYZ values.
- diff_
cpu_ gpu - Compare CPU oracle output with GPU output.