[all-commits] [llvm/llvm-project] 9830f9: [AMDGPU][OpenMP] Support linking of math libraries

pdhaliwal-amd via All-commits all-commits at lists.llvm.org
Fri Jul 30 06:54:58 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9830f902e4d087ecb1706912b730c046f20600ee
      https://github.com/llvm/llvm-project/commit/9830f902e4d087ecb1706912b730c046f20600ee
  Author: Pushpinder Singh <Pushpinder.Singh at amd.com>
  Date:   2021-07-30 (Fri, 30 Jul 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/AMDGPU.cpp
    M clang/lib/Driver/ToolChains/AMDGPU.h
    M clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
    M clang/lib/Driver/ToolChains/HIP.cpp
    M clang/test/Driver/amdgpu-openmp-toolchain.c

  Log Message:
  -----------
  [AMDGPU][OpenMP] Support linking of math libraries

Math libraries are linked only when -lm is specified. This is because
host system could be missing rocm-device-libs.

Reviewed By: JonChesterfield, yaxunl

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




More information about the All-commits mailing list