diff --git a/openmp/libomptarget/deviceRTLs/nvptx/src/parallel.cu b/openmp/libomptarget/deviceRTLs/common/src/parallel.cu rename from openmp/libomptarget/deviceRTLs/nvptx/src/parallel.cu rename to openmp/libomptarget/deviceRTLs/common/src/parallel.cu --- 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 rename from openmp/libomptarget/deviceRTLs/nvptx/src/support.cu rename to openmp/libomptarget/deviceRTLs/common/src/support.cu --- 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 rename from openmp/libomptarget/deviceRTLs/nvptx/src/sync.cu rename to openmp/libomptarget/deviceRTLs/common/src/sync.cu --- 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 --- a/openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt +++ b/openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt @@ -57,10 +57,10 @@ 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 )