[all-commits] [llvm/llvm-project] 282bf9: [HIP] Fix ROCm detection

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Mon Mar 22 13:10:45 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 282bf9eaf7b1fc28fd60a177b97dc1ce9f220352
      https://github.com/llvm/llvm-project/commit/282bf9eaf7b1fc28fd60a177b97dc1ce9f220352
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2021-03-22 (Mon, 22 Mar 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/AMDGPU.cpp
    M clang/test/Driver/rocm-detect.hip

  Log Message:
  -----------
  [HIP] Fix ROCm detection

ROCm has changed installation path to /opt/rocm-{release}. Add detection
for that. Also support ROCM_PATH environment variable.

Reviewed by: Artem Belevich

Differential Revision: https://reviews.llvm.org/D98867




More information about the All-commits mailing list