[WARP][DirectX][X64] WaveMultiPrefixProduct fails for single-lane groups with zero inputs

Aperta
#1,720 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
57/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp
Ambito
testing-qa

Direzione di ricerca

Start with the WaveMultiPrefixProduct tests and their WARP DirectX shader cases for fp64 and matrix fp64. Run the tests on x64 and inspect the single-lane mask check for rows containing zeros; the issue does not identify the test file or report returned values. Done means identifying why those checks fail and making the single-lane exclusive result equal 1, with all OutGroups flags equal to 1.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

The WaveMultiPrefixProduct and WaveMultiPrefixSum tests fail on WARP runs targeting DirectX, for fp64 and matrix fp64 inputs. This is seen on x64 runs, not arm64.

Reproduction

Run the WaveMultiPrefixProduct tests with WARP and DirectX.

The shader repeats four input rows. Rows 2 and 3 contain zeros. The single-lane case supplies a mask that contains only the current lane:

uint4 SingleMask = laneMask(Lane, 1u << (Lane % 32));
bool SinglePassed = check(Value, IdentityExpected, SingleMask);
Expected result

A single-lane group has no earlier lanes. The exclusive product must therefore return 1, including when the current input is zero.

All flags in OutGroups should equal 1.

Actual result

The runner reports Test failed: TestGroups.

Each output row contains these flags:

FullPassed, ParityPassed, BlockPassed, SinglePassed

The output repeats this pattern:

Lane modulo 4 Output flags
0 (1, 1, 1, 1)
1 (1, 1, 1, 1)
2 (1, 1, 1, 0)
3 (1, 1, 1, 0)

The single-lane check fails where the current input is zero. The test records only pass/fail flags, so the actual returned values and the failing overloads remain unknown.

This differs from #1714, which tracks failures with four-lane group masks.

Lingua principale
C++
Stelle
20
Fork
41
Merge medio
5g 5h
PR unite (30g)
28

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di llvm/offload-test-suite

Tutte le issue di llvm/offload-test-suite

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.