commit | 820a748fe0890fdb703b62269f0543f25e33b973 | [log] [tgz] |
---|---|---|
author | Krzysztof Drewniak <Krzysztof.Drewniak@amd.com> | Thu Nov 18 21:42:42 2021 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Nov 19 12:55:48 2021 -0800 |
tree | ae54989ba9090d45ec31707f48fc2eb85fb399d5 | |
parent | b919fe19ed3dcfba17f9421c10bb5181d1b88c55 [diff] |
[MLIR][GPU] Make the path to ROCm a runtime option Our current build assumes that the path to ROCm we find at build time will be the path at which ROCm is located when the built code is executed. This commit adds a --rocm-path option to SerializeToHsaco, and removes the HIP dependency that the SerializeToHsaco previously had. Depends on D114113 (though the dependency is to ensure the diffs apply cleanly and to capture the dependency on D114107) Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D114114 GitOrigin-RevId: 20f79f8caa3a333a34021f0028e828f97d79c2a1
See https://mlir.llvm.org/ for more information.