diff options
| author | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2019-12-13 17:48:19 +0000 |
|---|---|---|
| committer | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2019-12-13 17:48:19 +0000 |
| commit | 40d72134fd341c79397ec1a57cc6dfd11fd1acc5 (patch) | |
| tree | f4fe0f8479a6d226d162e29f5d8604e545aa0fb2 | |
| parent | a00cd6dfea9f071c042c1eacd3ed9b587fe44feb (diff) | |
| download | bcm5719-llvm-40d72134fd341c79397ec1a57cc6dfd11fd1acc5.tar.gz bcm5719-llvm-40d72134fd341c79397ec1a57cc6dfd11fd1acc5.zip | |
[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
| -rw-r--r-- | openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt b/openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt index daa5e6bcd67..671508aac41 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) |

