[NFC][libomptarget] move remaining device specific code out of omptarget-nvptx.h
authorJon Chesterfield <jonathanchesterfield@gmail.com>
Fri, 25 Oct 2019 06:20:46 +0000 (07:20 +0100)
committerJon Chesterfield <jonathanchesterfield@gmail.com>
Fri, 25 Oct 2019 17:58:31 +0000 (18:58 +0100)
commit197b7b24c330a722cae76ded7c91f51d4d28192f
treee4023bc99a05a02b9c7f3663d7bd663f4e8e8e7b
parent96601ec28b7efe5abf3479a1aa91bcedb235bbbd
[NFC][libomptarget] move remaining device specific code out of omptarget-nvptx.h

Summary:
[NFC][libomptarget] move remaining device specific code out of omptarget-nvptx.h

Strictly there is one remaining difference wrt amdgcn - parallelLevel is
volatile qualified on amdgcn and not on nvptx. Determining whether this is
correct - and how to represent the different semantics of 'volatile' under
various conditions - is beyond the scope of this code motion patch.

Reviewers: ABataev, jdoerfert, grokos

Subscribers: openmp-commits

Tags: #openmp

Differential Revision: https://reviews.llvm.org/D69424
openmp/libomptarget/deviceRTLs/nvptx/src/omptarget-nvptx.h
openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h