Model M reconstruction: zero total gather weight differs between the reference and the confirmed behaviour

Offen
#129 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
30/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
cpp, python

Rechercherichtung

Start with the dec function in clean/reference/post.py, where a NaN is mapped to the low clamp value, and compare it with the NaN-propagating behaviour confirmed for Model L (see test_l_recon.py for the known-answer pattern). Then find the Model M D3D12 and HIP reconstruction kernels and establish what they output for a gather with zero total weight. Done means the reference matches the confirmed NaN propagation, with a known-answer test, and the kernel output for this case is recorded in the issue.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

While settling Model L's reconstruction reference (#124) the behaviour for a gather whose total weight is exactly zero (extreme but finite coefficients, every tap underflows) was confirmed for both models: there is no special path, the NaN propagates, and the decode passes NaN through.

Model M's CPU reference (clean/reference/post.py, dec) instead maps a NaN to the low clamp value, so for this input the Model M reference and the confirmed behaviour give different history values.

To do:

  • state what Model M's D3D12 and HIP reconstruction kernels produce for this input (a synthetic case with zero total weight);
  • bring the reference, and if needed the kernels, to the confirmed behaviour, with a known-answer test as in Model L's test_l_recon.py.

This needs extreme coefficient values; no visible effect in a game has been reported. Refs #89

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.