[nfc][libomptarget] Remove SHARED annotation from local variables
authorJon Chesterfield <jonathanchesterfield@gmail.com>
Thu, 23 Jan 2020 00:00:23 +0000 (00:00 +0000)
committerJon Chesterfield <jonathanchesterfield@gmail.com>
Thu, 23 Jan 2020 00:00:23 +0000 (00:00 +0000)
commit0e9374e3740f82f2d46af564f6b059e68ff307c8
tree84a2809d711a63b759aa396d8416be95e99d99c9
parent1f45914b4289db7e5ec8d5759707c16e865f02e5
[nfc][libomptarget] Remove SHARED annotation from local variables

Summary:
[nfc][libomptarget] Remove SHARED annotation from local variables

A few local variables in reduction.cu were marked SHARED. This patch leaves
all per-kernel global state localised in omp_data.cu.

Reviewers: ABataev, jdoerfert, grokos

Reviewed By: jdoerfert

Subscribers: openmp-commits

Tags: #openmp

Differential Revision: https://reviews.llvm.org/D73239
openmp/libomptarget/deviceRTLs/common/src/reduction.cu