llvm-project/openmp/libomptarget/deviceRTLs
Shilei Tian e97e0a4fad [AbstractAttributor] Fold __kmpc_parallel_level if possible
Similar to D105787, this patch tries to fold `__kmpc_parallel_level` if possible.
Note that `__kmpc_parallel_level` doesn't take activeness into consideration,
based on current `deviceRTLs`, its return value can be such as 0, 1, 2, instead
of 0, 129, 130, etc. that also indicate activeness.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D106154
2021-07-26 22:46:19 -04:00
..
amdgcn [OpenMP] Renaming RT functions `GetNumberOfBlocksInKernel` and `GetNumberOfThreadsInBlock` 2021-07-22 18:17:49 -04:00
common [AbstractAttributor] Fold __kmpc_parallel_level if possible 2021-07-26 22:46:19 -04:00
nvptx [OpenMP][NVPTX] Disable OpenMPOpt when building deviceRTLs 2021-07-25 10:38:27 -04:00
CMakeLists.txt [libomptarget] Enable AMDGPU devicertl 2021-04-24 02:24:44 +01:00
interface.h [AbstractAttributor] Fold __kmpc_parallel_level if possible 2021-07-26 22:46:19 -04:00
target_interface.h [OpenMP] Renaming RT functions `GetNumberOfBlocksInKernel` and `GetNumberOfThreadsInBlock` 2021-07-22 18:17:49 -04:00