)]}'
{
  "commit": "d2badb8828378384d2acd7e00c2f99db725b623f",
  "tree": "3e0872a5ce4ce928dc4d56b9b503ffbd3c587770",
  "parents": [
    "b21fa2a333fcdb1dd26238f2f2fde4ee49c1cd50"
  ],
  "author": {
    "name": "WMC",
    "email": "32368873+weimin023@users.noreply.github.com",
    "time": "Mon Jun 01 17:00:37 2026 +0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Jun 01 09:00:37 2026 +0000"
  },
  "message": "[CUDA] Adds initial CUDA target recognition for NVIDIA sm_120 / Blackwell (#24525)\n\n## Summary\n[#24477](https://github.com/iree-org/iree/issues/24477\n)\n\nThis lets IREE construct CUDA GPU target metadata for\n`--iree-cuda-target\u003dsm_120`.\nThe initial Blackwell WGP details are conservative and intended only to\nunblock target construction; Blackwell-specific tuning and heuristic\nchanges are left for follow-up validation.\n\n## Validation\n\nAdded target metadata regression coverage in:\n\n`compiler/plugins/target/CUDA/test/target_device_features.mlir`\n\nThis checks both:\n\n- `--iree-cuda-target\u003dsm_120 --iree-cuda-target-features\u003d+ptx87`\n- `--iree-cuda-target\u003dblackwell --iree-cuda-target-features\u003d+ptx87`\n\nand verifies that they produce:\n\n```mlir\n#iree_gpu.target\u003carch \u003d \"sm_120\", features \u003d \"+ptx87\"\n```\n\nAlso verified that compilation reaches HAL target configuration with:\n```\n./iree-build/tools/iree-compile \\\n  compiler/plugins/target/CUDA/test/target_device_features.mlir \\\n  --compile-to\u003dhal \\\n  --iree-hal-target-device\u003dcuda \\\n  --iree-cuda-target\u003dsm_120 \\\n  --iree-cuda-target-features\u003d+ptx87\n```\n\n---------\n\nSigned-off-by: weimin023 \u003ctnwilly@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5cc399c2dbefa62c932af7c1cc98811fb7e0c8e3",
      "old_mode": 33188,
      "old_path": "compiler/plugins/target/CUDA/test/target_device_features.mlir",
      "new_id": "e9683f5fbce491f3de1105413e773e6514d33202",
      "new_mode": 33188,
      "new_path": "compiler/plugins/target/CUDA/test/target_device_features.mlir"
    },
    {
      "type": "modify",
      "old_id": "8894df984129c1b50940979da0dc46378cca111d",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Dialect/GPU/TargetUtils/KnownTargets.cpp",
      "new_id": "e2c510314092127bd31cbdb90e83f65bfa96946b",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Dialect/GPU/TargetUtils/KnownTargets.cpp"
    }
  ]
}
