HomePhabricator

[libomptarget] Enable AMDGPU devicertl

Authored by JonChesterfield on Apr 23 2021, 6:24 PM.

Description

[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

Details

Committed
JonChesterfieldApr 23 2021, 6:24 PM
Reviewer
tianshilei1992
Differential Revision
D101213: [libomptarget] Enable AMDGPU devicertl
Parents
rGa224bf8ec423: [libcxx] disables ranges for clang-cl
Branches
Unknown
Tags
Unknown