[OpenMP][deviceRTLs] Remove omp_is_initial_device
authorShilei Tian <tianshilei1992@gmail.com>
Mon, 25 Jan 2021 23:34:14 +0000 (18:34 -0500)
committerShilei Tian <tianshilei1992@gmail.com>
Mon, 25 Jan 2021 23:34:23 +0000 (18:34 -0500)
commit3333244d77c44e8bb5af57027646596f7714ff62
tree0fae44706203f4116dd7ceae3b6a6313d975ac74
parentc0e94e99747393bcb9124822a3e353c2dd9c5b63
[OpenMP][deviceRTLs] Remove omp_is_initial_device

`omp_is_initial_device` in device code was implemented as a builtin
function in D38968 for a better performance. Therefore there is no chance that
this function will be called to `deviceRTLs`. As we're moving to build `deviceRTLs`
with OpenMP compiler, this function can lead to a compilation error. This patch
just simply removes it.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D95397
openmp/libomptarget/deviceRTLs/common/src/libcall.cu
openmp/libomptarget/deviceRTLs/interface.h