[HIP] Remove workaround in __clang_hip_runtime_wrapper.h
authorYaxun (Sam) Liu <yaxun.liu@amd.com>
Thu, 15 Jul 2021 15:14:02 +0000 (11:14 -0400)
committerYaxun (Sam) Liu <yaxun.liu@amd.com>
Wed, 21 Jul 2021 19:16:28 +0000 (15:16 -0400)
commitdb5f100fe4ca252d7f392659e7da5dba10331ae7
treedbb57b2d347f24e50597d8cbd84425c8be9e43ce
parentfd895bc81ba7579eecd2234093aaa2ed2393c466
[HIP] Remove workaround in __clang_hip_runtime_wrapper.h

Remove the workaround for -fopenmp in __clang_hip_runtime_wrapper.h
since it causes device functions in HIP wrapper headers disabled when
compiling HIP program with -fopenmp.

Reviewed by: Aaron Enye Shi, Jon Chesterfield

Differential Revision: https://reviews.llvm.org/D106070
clang/lib/Headers/__clang_hip_runtime_wrapper.h