)]}'
{
  "commit": "0b29f7b10cc7cd0b33666a214d8d155077ecb7f3",
  "tree": "fecd89e78cc8d4cf92116402242ae48c56915a2e",
  "parents": [
    "729028390c2a1e4cad57679bf3f9d789e96f0723"
  ],
  "author": {
    "name": "Han-Chung Wang",
    "email": "hanhan0912@gmail.com",
    "time": "Wed Sep 25 10:40:27 2024 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Sep 25 17:40:27 2024 +0000"
  },
  "message": "[GPU][DT] Add support for GPU data-tiling E2E tests.  (#18591)\n\nThe revision introduces GPUMaterializeHostEncodingPass for early\r\nmaterialization. It is mainly for testing purpose while the codegen for\r\nencodings is still in progress. A experimental flag (i.e.,\r\n`iree-global-opt-experimental-rocm-data-tiling`) is introduced to\r\nprovide a path for GPU data-tiling e2e tests.\r\n\r\nIn the tests, a `optimization_barrier` op is introduced in between of\r\n`set_encoding` op and `unset_encoding` op. The compiler could be clever\r\nto cancel data-layout transformation, so a barrier is inserted as a\r\nhint. To support the e2e path, the revision adds two additional changes:\r\n\r\n1. Implement `MaterializeOptimizationBarrierOp` pattern, which replaces\r\nthe barrier op with the same op with materialized shape.\r\n2. Implement the fallback for unset_encoding materialization pattern.\r\nCurrently only f32.f32.f32 and i8.i8.i32 mfma ops are supported. The\r\nwmma ops are not supported, so the codegen should turn encodings to nop\r\non the targets that do not yet support the intrinsics. E.g., gfx1100.\r\n\r\nNote: this only tests set_encoding and unset_encoding. The gemm codegen\r\nis still in progress.\r\n\r\n---------\r\n\r\nSigned-off-by: hanhanW \u003chanhan0912@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1ebd462997f684434d1459a63ca0209e0c0a8cae",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/GPU/BUILD.bazel",
      "new_id": "4b5957a5018642bf36405b935e10ab2c85304b44",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/GPU/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "8dfe2413816d2dd131e30763be73a2655eec6660",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/GPU/CMakeLists.txt",
      "new_id": "b48869ffcabd1e19e1125e61bece002ff1c1366e",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/GPU/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "73491a869ff42bf0f9ee2c8dfaec76ccece4c776",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/GPU/GPUMaterializeEncoding.cpp",
      "new_id": "86e5ee260db921a9b3a2128cec2f20e8bfc5f336",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/GPU/GPUMaterializeEncoding.cpp"
    },
    {
      "type": "modify",
      "old_id": "1b5136df1e3bef742c48e1be09fa22e149207966",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/GPU/Passes.td",
      "new_id": "1f22bad8ea777a6a0dc16c8eef4139e37c1e8afc",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/GPU/Passes.td"
    },
    {
      "type": "modify",
      "old_id": "d487e95f907d205effeaa050c7912fb94e2f487a",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/MaterializeEncodingIntoPackUnPack.cpp",
      "new_id": "b1725418d31d156ba52798bf5ee2fff0c605ea8c",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/MaterializeEncodingIntoPackUnPack.cpp"
    },
    {
      "type": "modify",
      "old_id": "5575a05f9d6ac19b10c9710c8b62557197e6c270",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/GlobalOptimization/BUILD.bazel",
      "new_id": "3797824fa1223fa4ac15fa049e9fd422425a46f0",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/GlobalOptimization/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "19e2d0eb0ef1d858004ee7daeb0b21b9a5dc2341",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/GlobalOptimization/CMakeLists.txt",
      "new_id": "70bd927bfc7ea0adc99070de4d5550b81a5ef860",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/GlobalOptimization/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "750ae788f63beda1ebf2336bbd26220061c511cd",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/GlobalOptimization/MaterializeHomogeneousEncodings.cpp",
      "new_id": "46a985f4bb9bdf221a0490af713b1e0fad8091f5",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/GlobalOptimization/MaterializeHomogeneousEncodings.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "438fb0728d67b0a02a4914da711517facfa8f688",
      "new_mode": 33188,
      "new_path": "tests/e2e/rocm_specific/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c428b12fc7f7637926ae260325c5509bb7de4520",
      "new_mode": 33188,
      "new_path": "tests/e2e/rocm_specific/CMakeLists.txt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2718f9d008058cb1524af310843ed71566901fce",
      "new_mode": 33188,
      "new_path": "tests/e2e/rocm_specific/encoding.mlir"
    }
  ]
}
