[OpenMP] Introduce the keepAlive function into the old device RT
authorJohannes Doerfert <johannes@jdoerfert.de>
Wed, 3 Nov 2021 15:26:34 +0000 (10:26 -0500)
committerJohannes Doerfert <johannes@jdoerfert.de>
Thu, 4 Nov 2021 22:54:56 +0000 (17:54 -0500)
commitab9f3f5d25dc14a9dcffa48389cd1a321d598578
treeb4529a2c8dab340e5048b324427af0c6f5fe1aa7
parent93bebdc78f12459a85eb94eccbaf50044ac4bd5d
[OpenMP] Introduce the keepAlive function into the old device RT

Reviewed By: ye-luo

Differential Revision: https://reviews.llvm.org/D113110
openmp/libomptarget/deviceRTLs/common/src/support.cu