)]}'
{
  "commit": "834b0b62f6d7b8dd9420b36106e60396cfaa6598",
  "tree": "53f1c27554e2b604dc1ad4849aebe8b986312c74",
  "parents": [
    "5503db049a45d8940eea4db73de63c7a6f8f640e"
  ],
  "author": {
    "name": "WMC",
    "email": "tnwilly@gmail.com",
    "time": "Thu Oct 01 23:38:51 2026 +0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Oct 01 17:38:51 2026 +0200"
  },
  "message": "[LLVMGPU] Add RDNA3 e2e attention correctness tests (#24948)\n\n## Summary\n\n`tests/e2e/attention/CMakeLists.txt` distinguishes between CDNA(gfx9)\nand RDNA3(gfx11) but only implemented the CDNA3 branch. RDNA3 attention\nhad no dedicated e2e runtime correctness coverage, unlike matmul which\nalready has a `gfx11` branch in `tests/e2e/matmul/CMakeLists.txt`.\n\nThis adds the missing RDNA3 branch, following the existing CDNA3\npattern:\n\n- `e2e_attention_gpu_rdna3_f16_f16_f16_{small,medium,large}`\n- `e2e_attention_gpu_rdna3_f16_f16_f16_decode_{small,medium,large}`\n(m\u003d1, single token attending to cached KV)\n- `e2e_attention_gpu_rdna3_f16_f16_f16_prefill_{small,medium}` (m\u003dk2,\nself-attention with causal mask)\n\nThese tests don\u0027t hardcode an MMA intrinsic.\n`generate_e2e_attention_tests.py` emits plain\n`iree_linalg_ext.attention`/`online_attention` ops; the actual WMMA vs.\nMFMA selection happens automatically in\n`setAttentionIntrinsicBasedVectorDistributionConfig` based on the\ntarget\u0027s advertised MMA intrinsics. So this coverage exercises the same\nconfig-selection heuristic as the CDNA3 branch, just against a different\ntarget.\n\n## Testing\n\nVerified on real gfx1151 hardware (AMD Ryzen AI MAX+ 395 / Strix Halo,\nROCm 7.2.4):\n\n\n````\ncmake -DIREE_ROCM_TEST_TARGET_CHIP\u003dgfx1151 -DIREE_HAL_DRIVER_HIP\u003dON -DIREE_TARGET_BACKEND_ROCM\u003dON ...\nctest -R \u0027e2e_attention_gpu_rdna3\u0027 --output-on-failure\n````\n\nSigned-off-by: weimin023 \u003ctnwilly@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "356158f4171f0618e6bbed879abfc7a46554b913",
      "old_mode": 33188,
      "old_path": "tests/e2e/attention/CMakeLists.txt",
      "new_id": "37b9f242783d8e52e1a0e95336c198dddcf077e5",
      "new_mode": 33188,
      "new_path": "tests/e2e/attention/CMakeLists.txt"
    }
  ]
}
