[all-commits] [llvm/llvm-project] 932c63: [HIP] link HIP runtime library without --hip-link

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Fri Aug 4 15:30:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 932c63550ad5752ba333a7a4e0045b559c65840b
      https://github.com/llvm/llvm-project/commit/932c63550ad5752ba333a7a4e0045b559c65840b
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2023-08-04 (Fri, 04 Aug 2023)

  Changed paths:
    M clang/docs/HIPSupport.rst
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.h
    M clang/lib/Driver/ToolChains/Gnu.cpp
    M clang/lib/Driver/ToolChains/MSVC.cpp
    M clang/test/Driver/hip-runtime-libs-linux.hip
    M clang/test/Driver/hip-runtime-libs-msvc.hip
    M clang/test/Driver/rocm-detect.hip

  Log Message:
  -----------
  [HIP] link HIP runtime library without --hip-link

When doing combined compilation/link for HIP source
files, clang should link the HIP runtime library
automatically without --hip-link.

Reviewed by: Siu Chi Chan, Joseph Huber

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




More information about the All-commits mailing list