)]}'
{
  "commit": "67a05a45aec34d779bc7ff8968bd1c93133a037c",
  "tree": "09e875a6a33b68a3ea889ad0a7c52f0d5f727b63",
  "parents": [
    "dc29ee7d1bcfcec5a58d42e29125bbda937bbbbc"
  ],
  "author": {
    "name": "Han-Chung Wang",
    "email": "hanhan0912@gmail.com",
    "time": "Sun Dec 15 19:57:04 2024 -0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Dec 16 03:57:04 2024 +0000"
  },
  "message": "[DT][NFC] Internalize transposeNarrowN logic to LayoutAttrInterface Impl  (#19453)\n\nWhether applying transposition from narrow-N to narrow-M is backend\r\nimplementation details, and we do not need to expose it to the type\r\nconverter. The encoding itself has enough information, like indexing\r\nmaps, narrow dimensions, etc., to infer the shapes and encoding info.\r\nInstead of updating the RankedTensorType and the attached encoding in\r\ntype converter, we can just cook the logic in `getEncodingInfo` methods.\r\nFrom the encoding, we know that whether it is narrow-N case, and we can\r\nupdate the MaterializeEncodingInfo correspondingly. The type converter\r\ncan infer the transposed tensor type from it. Thus, we can simplify the\r\nlogic in the type conversion.\r\n\r\nThe documentation of `transposeNarrowN` is moved to\r\n`[CPU|GPU]EncodingExternalModels.cpp` because all the implementation\r\nlocates at the files.\r\n\r\nSigned-off-by: hanhanW \u003chanhan0912@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d1cb2fab6733048765df3d487cd5b4d719464101",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/CPU/CPUMaterializeEncodings.cpp",
      "new_id": "d182649f64ac795fc01dfd1920ebc74000081647",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/CPU/CPUMaterializeEncodings.cpp"
    },
    {
      "type": "modify",
      "old_id": "05caca808e4a8391e58ec8dc16e308ef599e977d",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/EncodingUtils.cpp",
      "new_id": "e3ca734a964b0de85efb1382dfaa2afda7b0aabe",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/EncodingUtils.cpp"
    },
    {
      "type": "modify",
      "old_id": "3b59cbd63173816f31661eec445d0514b5993d75",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/EncodingUtils.h",
      "new_id": "da9aa8a417318540790e776305592fb5ae2928ef",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/EncodingUtils.h"
    },
    {
      "type": "modify",
      "old_id": "92b8ac4df0e8c9d40a18408473caff56b6a3926a",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/GPU/GPUMaterializeEncoding.cpp",
      "new_id": "32536085576bb3ace3a4861cb3cf5aa5510d4699",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/GPU/GPUMaterializeEncoding.cpp"
    },
    {
      "type": "modify",
      "old_id": "35355e843723d569b544d58a1424894bbc81183b",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/MaterializeEncodingIntoNop.cpp",
      "new_id": "4de4b454478a567e39780fac1895203052a70c6d",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/MaterializeEncodingIntoNop.cpp"
    },
    {
      "type": "modify",
      "old_id": "ad2ce7c48c0592153071a91e7ffa8d5ff2fa17f4",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/MaterializeEncodingIntoPackUnPack.cpp",
      "new_id": "087d91dccf41a21760ce5fa6880c66ad6c7c9a29",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/MaterializeEncodingIntoPackUnPack.cpp"
    },
    {
      "type": "modify",
      "old_id": "89de2e6dcc168205e817f831dae70d5d7e81cbc2",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/ExternalInterfaces/CPUEncodingExternalModels.cpp",
      "new_id": "3461a29c6b630cf2a4bcc6fca33a2a59341e0662",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/ExternalInterfaces/CPUEncodingExternalModels.cpp"
    },
    {
      "type": "modify",
      "old_id": "031c158fed8e9ed5f363a8aab807dcbf92261456",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/ExternalInterfaces/GPUEncodingExternalModels.cpp",
      "new_id": "b3bd093e52fbcd9ba59eb3ab3624d471cdd60eba",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/ExternalInterfaces/GPUEncodingExternalModels.cpp"
    }
  ]
}
