[Openmp-commits] [openmp] 40d7213 - [libomptarget] Build most of common/src for amdgcn
Jon Chesterfield via Openmp-commits
openmp-commits at lists.llvm.org
Fri Dec 13 09:48:32 PST 2019
Author: Jon Chesterfield
Date: 2019-12-13T17:48:19Z
New Revision: 40d72134fd341c79397ec1a57cc6dfd11fd1acc5
URL: https://github.com/llvm/llvm-project/commit/40d72134fd341c79397ec1a57cc6dfd11fd1acc5
DIFF: https://github.com/llvm/llvm-project/commit/40d72134fd341c79397ec1a57cc6dfd11fd1acc5.diff
LOG: [libomptarget] Build most of common/src for amdgcn
Summary:
[libomptarget] Build most of common/src for amdgcn
Excluding parallel.cu, which uses an integer min() from cuda,
Excluding support.cu, which calls malloc that is not yet available for amdgcn
Reviewers: jdoerfert, ABataev, grokos
Reviewed By: jdoerfert
Subscribers: gregrodgers, ronlieb, jvesely, mgorny, openmp-commits
Tags: #openmp
Differential Revision: https://reviews.llvm.org/D71446
Added:
Modified:
openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
Removed:
################################################################################
diff --git a/openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt b/openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
index daa5e6bcd677..671508aac418 100644
--- a/openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
+++ b/openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
@@ -56,7 +56,11 @@ get_filename_component(devicertl_base_directory
set(cuda_sources
${devicertl_base_directory}/common/src/cancel.cu
- ${devicertl_base_directory}/common/src/critical.cu)
+ ${devicertl_base_directory}/common/src/critical.cu
+ ${devicertl_base_directory}/common/src/loop.cu
+ ${devicertl_base_directory}/common/src/omptarget.cu
+ ${devicertl_base_directory}/common/src/sync.cu
+ ${devicertl_base_directory}/common/src/task.cu)
set(h_files
${CMAKE_CURRENT_SOURCE_DIR}/src/amdgcn_interface.h
@@ -64,6 +68,8 @@ set(h_files
${CMAKE_CURRENT_SOURCE_DIR}/src/target_impl.h
${devicertl_base_directory}/common/debug.h
${devicertl_base_directory}/common/device_environment.h
+ ${devicertl_base_directory}/common/omptarget.h
+ ${devicertl_base_directory}/common/omptargeti.h
${devicertl_base_directory}/common/state-queue.h
${devicertl_base_directory}/common/state-queuei.h
${devicertl_base_directory}/common/support.h)
More information about the Openmp-commits
mailing list