[OpenMP] Remove checkXXXX device runtime functions
authorJohannes Doerfert <johannes@jdoerfert.de>
Wed, 7 Jul 2021 20:06:41 +0000 (15:06 -0500)
committerJohannes Doerfert <johannes@jdoerfert.de>
Sat, 10 Jul 2021 23:20:40 +0000 (18:20 -0500)
commit0a223827de8d923f357bf6d3d222fd26e2fbca4a
tree06ec310d19a7efe764dba9a5229ef0bc4df5ff2c
parenta706b94ea5560a7733e403006a9066cc41e82b5d
[OpenMP] Remove checkXXXX device runtime functions

We had multiple functions to determine the execution mode (SPMD/Generic)
and runtime status (initialized/uninitialized) but that just increased
complexity without a real benefit. Especially with D102307 in mind it
is helpful to reduce the dependence on the `ident_t` flags.

Differential Revision: https://reviews.llvm.org/D105586
openmp/libomptarget/deviceRTLs/common/src/loop.cu
openmp/libomptarget/deviceRTLs/common/src/parallel.cu
openmp/libomptarget/deviceRTLs/common/src/reduction.cu
openmp/libomptarget/deviceRTLs/common/src/support.cu
openmp/libomptarget/deviceRTLs/common/src/sync.cu
openmp/libomptarget/deviceRTLs/common/src/task.cu
openmp/libomptarget/deviceRTLs/common/support.h