You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
compile_dxil: index the graphics interface catalog on several threads (--jobs) #3534
compile_dxil --index-graphics-interfaces reads, parses, hashes and publishes the .cdxil containers one after another (src/direct_compute_cache.cpp:300). For a full local corpus (23,619 vertex, pixel and mesh containers from tools/extract_shaders.py), one install takes 252 s into an empty cache and 140 s into the same cache again. With #3521 the launcher runs it before every run.
Proposal: --index-graphics-interfaces DIR CACHE [--jobs N] (1–64, default 1), like --refusals:
Workers read, parse and publish the containers. Their keys are merged afterwards in sorted file order, so the catalog is byte-identical for any N. The ambiguous-key rule does not depend on order.
The first failure in file order still fails the install, and no new index is written.
Test: on the existing synthetic library, the one-thread and --jobs 3 catalogs are byte-equal, ambiguous key included. --jobs 0 is refused, and a broken container still fails with --jobs.
Not covered: skipping the install when the catalog is already current (launcher side, raised on #3521).
Activity
lukaslw-lab commentedon Nov 30, 2026
I'm taking this. The PR follows with 1/4/8-job timings on the same corpus.
compile_dxil: index the graphics interface catalog on several threads
compile_dxil: index the graphics interface catalog on several threads (…