summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Chesterfield <jonathanchesterfield@gmail.com>2019-12-06 15:29:49 +0000
committerJon Chesterfield <jonathanchesterfield@gmail.com>2019-12-06 15:29:50 +0000
commitcd90f49d708dbc8f367eb4c575f62ab614900f59 (patch)
tree324216f3a532f8adfbe0464949aaa9e827330986
parent3fab4276cbf1a57f049428145d4c9a0d9bcfa82c (diff)
downloadbcm5719-llvm-cd90f49d708dbc8f367eb4c575f62ab614900f59.tar.gz
bcm5719-llvm-cd90f49d708dbc8f367eb4c575f62ab614900f59.zip
[libomptarget][nfc] Move three more files to common
Summary: [libomptarget][nfc] Move three more files to common Reviewers: ABataev, jdoerfert, grokos Reviewed By: ABataev Subscribers: openmp-commits Tags: #openmp Differential Revision: https://reviews.llvm.org/D71103
-rw-r--r--openmp/libomptarget/deviceRTLs/common/src/parallel.cu (renamed from openmp/libomptarget/deviceRTLs/nvptx/src/parallel.cu)2
-rw-r--r--openmp/libomptarget/deviceRTLs/common/src/support.cu (renamed from openmp/libomptarget/deviceRTLs/nvptx/src/support.cu)2
-rw-r--r--openmp/libomptarget/deviceRTLs/common/src/sync.cu (renamed from openmp/libomptarget/deviceRTLs/nvptx/src/sync.cu)2
-rw-r--r--openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt6
4 files changed, 6 insertions, 6 deletions
diff --git a/openmp/libomptarget/deviceRTLs/nvptx/src/parallel.cu b/openmp/libomptarget/deviceRTLs/common/src/parallel.cu
index 02106f5ec74..4934621de58 100644
--- a/openmp/libomptarget/deviceRTLs/nvptx/src/parallel.cu
+++ b/openmp/libomptarget/deviceRTLs/common/src/parallel.cu
@@ -1,4 +1,4 @@
-//===---- parallel.cu - NVPTX OpenMP parallel implementation ----- CUDA -*-===//
+//===---- parallel.cu - GPU OpenMP parallel implementation ------- CUDA -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/openmp/libomptarget/deviceRTLs/nvptx/src/support.cu b/openmp/libomptarget/deviceRTLs/common/src/support.cu
index 10c9c0930cf..44a42e172f2 100644
--- a/openmp/libomptarget/deviceRTLs/nvptx/src/support.cu
+++ b/openmp/libomptarget/deviceRTLs/common/src/support.cu
@@ -1,4 +1,4 @@
-//===--------- support.cu - NVPTX OpenMP support functions ------- CUDA -*-===//
+//===--------- support.cu - GPU OpenMP support functions --------- CUDA -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/openmp/libomptarget/deviceRTLs/nvptx/src/sync.cu b/openmp/libomptarget/deviceRTLs/common/src/sync.cu
index 808e747875f..0ee29bf316b 100644
--- a/openmp/libomptarget/deviceRTLs/nvptx/src/sync.cu
+++ b/openmp/libomptarget/deviceRTLs/common/src/sync.cu
@@ -1,4 +1,4 @@
-//===------------ sync.h - NVPTX OpenMP synchronizations --------- CUDA -*-===//
+//===------------ sync.cu - GPU OpenMP synchronizations ---------- CUDA -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt b/openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt
index eaf4c11d086..b03c6c5c3f7 100644
--- a/openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt
+++ b/openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt
@@ -57,10 +57,10 @@ if(LIBOMPTARGET_DEP_CUDA_FOUND)
src/libcall.cu
${devicertl_common_directory}/src/loop.cu
${devicertl_common_directory}/src/omptarget.cu
- src/parallel.cu
+ ${devicertl_common_directory}/src/parallel.cu
src/reduction.cu
- src/support.cu
- src/sync.cu
+ ${devicertl_common_directory}/src/support.cu
+ ${devicertl_common_directory}/src/sync.cu
${devicertl_common_directory}/src/task.cu
)
OpenPOWER on IntegriCloud