[all-commits] [llvm/llvm-project] 55c658: [OpenMP][deviceRTLs] Update return type of functio...
Shilei Tian via All-commits
all-commits at lists.llvm.org
Tue Jul 20 12:45:56 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 55c65884a41c4dec2c3efd056657cc7c590c1bcb
https://github.com/llvm/llvm-project/commit/55c65884a41c4dec2c3efd056657cc7c590c1bcb
Author: Shilei Tian <tianshilei1992 at gmail.com>
Date: 2021-07-20 (Tue, 20 Jul 2021)
Changed paths:
M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
M openmp/libomptarget/deviceRTLs/common/src/parallel.cu
M openmp/libomptarget/deviceRTLs/interface.h
Log Message:
-----------
[OpenMP][deviceRTLs] Update return type of function __kmpc_parallel_level
In `deviceRTLs`, the parallel level is stored in a shared variable of type `uint8_t`.
`__kmpc_parallel_level` currently returns a 16-bit interger. This patch first
changes the return type of the function to `uint8_t`, same as the shared variable,
and then corrects function type which was updated in D105955.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D106384
More information about the All-commits
mailing list