[Libomptarget] Remove volatile from NVPTX work function
authorJoseph Huber <jhuber6@vols.utk.edu>
Mon, 19 Jul 2021 20:54:31 +0000 (16:54 -0400)
committerHuber, Joseph <huberjn@ornl.gov>
Tue, 20 Jul 2021 00:03:25 +0000 (20:03 -0400)
commit762badb0ab44a015fd066089c6b266f51ab5f703
treeffde7c54cfe9262c269eefa71fa9cd9106d15a05
parent18a8aaee0e3e4e9a95c52bf7627088cd7019fda8
[Libomptarget] Remove volatile from NVPTX work function

Currently the NPVTX work function is marked volatile. This prevents some
optimizations from using this value.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D106310
openmp/libomptarget/deviceRTLs/common/omptarget.h
openmp/libomptarget/deviceRTLs/common/src/omp_data.cu