[all-commits] [llvm/llvm-project] 58f125: [libomptarget] Enable AMDGPU devicertl

Jon Chesterfield via All-commits all-commits at lists.llvm.org
Fri Apr 23 18:25:12 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 58f125493d3cdcf91e92c888551503aca77d4bb8
      https://github.com/llvm/llvm-project/commit/58f125493d3cdcf91e92c888551503aca77d4bb8
  Author: Jon Chesterfield <jonathanchesterfield at gmail.com>
  Date:   2021-04-24 (Sat, 24 Apr 2021)

  Changed paths:
    M openmp/libomptarget/deviceRTLs/CMakeLists.txt
    M openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
    M openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h

  Log Message:
  -----------
  [libomptarget] Enable AMDGPU devicertl

[libomptarget] Enable AMDGPU devicertl

The amdgpu devicertl is written in freestanding openmp and compiles to a
bitcode library (per listed gfx arch) with no unresolved symbols. It requires
a recent clang, preferably the one from the same monorepo checkout.

This is D98658, with printf explicitly stubbed out, after patching clang to no
longer require an llvm with the amdgpu target enabled.

Reviewed By: tianshilei1992

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




More information about the All-commits mailing list