0.6.6: RR kernel cache key should hash only the inputs of RR kernels

Offen
#263 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
52/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
cpp

Rechercherichtung

Start with clean/dx12/build_dx12.py and trace how it gathers RR kernel sources and includes, compiler details, flags, defines, and builds the cache key. Add the requested test for unrelated edits versus changes to each RR input, then run the relevant build and test commands; done means unrelated edits preserve the key while RR input changes invalidate it.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

The Ray Reconstruction kernel cache key includes the full text of clean/dx12/build_dx12.py. Any change to that file, even one that has nothing to do with Ray Reconstruction kernels (for example a new check for another model's shaders), invalidates the whole cache, and the next full build recompiles every RR kernel. That takes about three hours on a two-job build.

Proposal: make the key hash only the inputs that affect RR kernels: their sources and include closure, the compiler and its version, the flags and defines used for RR kernels, and the specific code that turns those into a compile command. Add a test showing that an unrelated edit to build_dx12.py keeps the key, and that a change to an RR source, include, flag or define changes it.

Vorherrschende Sprache
C++
Sterne
12
Forks
2
Ø Merge
3 Std. 10 Min.
Gemergte PRs (30 T.)
171

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus phantoslayer21/wronggpu

Alle Issues in phantoslayer21/wronggpu

Ähnliche Issues

Weitere Issues zu C++

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.