[all-commits] [llvm/llvm-project] 20f79f: [MLIR][GPU] Make the path to ROCm a runtime option

Krzysztof Drewniak via All-commits all-commits at lists.llvm.org
Fri Nov 19 12:52:07 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 20f79f8caa3a333a34021f0028e828f97d79c2a1
      https://github.com/llvm/llvm-project/commit/20f79f8caa3a333a34021f0028e828f97d79c2a1
  Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
  Date:   2021-11-19 (Fri, 19 Nov 2021)

  Changed paths:
    M mlir/lib/Dialect/GPU/CMakeLists.txt
    M mlir/lib/Dialect/GPU/Transforms/SerializeToHsaco.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list