[Openmp-commits] [PATCH] D99656: [AMDGPU][OpenMP] Enable Libomptarget runtime tests

Pushpinder Singh via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Mar 31 05:19:25 PDT 2021


pdhaliwal created this revision.
pdhaliwal added reviewers: JonChesterfield, ronlieb, tianshilei1992.
Herald added subscribers: guansong, t-tye, tpr, dstuttard, yaxunl, mgorny, jvesely, kzhuravl.
pdhaliwal requested review of this revision.
Herald added subscribers: openmp-commits, sstefan1, wdng.
Herald added a reviewer: jdoerfert.
Herald added a project: OpenMP.

This patch enables the libomptarget runtime tests for amdgpu target.
Currently, user will have to explicitly pass -DLIBOMPTARGET_ENABLE_EXPERIMENTAL_AMDGCN_TARGET=On
to enable building on amdgpu plugin and deviceRTL. There are around 12 tests
which are failing either due to missing printf or malloc.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D99656

Files:
  openmp/libomptarget/CMakeLists.txt
  openmp/libomptarget/deviceRTLs/CMakeLists.txt
  openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
  openmp/libomptarget/plugins/CMakeLists.txt
  openmp/libomptarget/test/env/base_ptr_ref_count.c
  openmp/libomptarget/test/env/omp_target_debug.c
  openmp/libomptarget/test/lit.cfg
  openmp/libomptarget/test/lit.site.cfg.in
  openmp/libomptarget/test/mapping/data_absent_at_exit.c
  openmp/libomptarget/test/mapping/declare_mapper_api.cpp
  openmp/libomptarget/test/mapping/declare_mapper_target.cpp
  openmp/libomptarget/test/mapping/declare_mapper_target_data.cpp
  openmp/libomptarget/test/mapping/declare_mapper_target_data_enter_exit.cpp
  openmp/libomptarget/test/mapping/declare_mapper_target_update.cpp
  openmp/libomptarget/test/mapping/lambda_mapping.cpp
  openmp/libomptarget/test/mapping/pr38704.c
  openmp/libomptarget/test/mapping/private_mapping.c
  openmp/libomptarget/test/offloading/assert.cpp
  openmp/libomptarget/test/offloading/bug47654.cpp
  openmp/libomptarget/test/offloading/d2d_memcpy.c
  openmp/libomptarget/test/offloading/dynamic_module.c
  openmp/libomptarget/test/offloading/dynamic_module_load.c
  openmp/libomptarget/test/offloading/lone_target_exit_data.c
  openmp/libomptarget/test/offloading/looptripcnt.c
  openmp/libomptarget/test/offloading/non_contiguous_update.cpp
  openmp/libomptarget/test/offloading/offloading_success.c
  openmp/libomptarget/test/offloading/offloading_success.cpp
  openmp/libomptarget/test/offloading/requires.c
  openmp/libomptarget/test/offloading/target_depend_nowait.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99656.334417.patch
Type: text/x-patch
Size: 22761 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210331/71929aa1/attachment-0001.bin>


More information about the Openmp-commits mailing list