[Openmp-commits] [PATCH] D84557: [OpenMP][Tests] Enable nvptx64 testing for most libomptarget tests

Joachim Protze via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Jul 24 14:28:00 PDT 2020


protze.joachim created this revision.
protze.joachim added a reviewer: jdoerfert.
protze.joachim added a project: OpenMP.
Herald added subscribers: sstefan1, guansong, yaxunl.

This patch adds a run line to most libomptarget tests to also test the nvptx64 target, if available.

Adding $BUILD/lib to the LIBRARY_PATH fixes https://bugs.llvm.org/show_bug.cgi?id=46836.

I moved the existing runline for nvptx64 to the end. Lit will stop for the first failing runline and mark the test as failed. If the GPU is configured for exclusive mode, this line tends to fail quite often.

None of the newly enabled tests fail on my system.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D84557

Files:
  openmp/libomptarget/test/env/omp_target_debug.c
  openmp/libomptarget/test/lit.cfg
  openmp/libomptarget/test/mapping/alloc_fail.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/delete_inf_refcount.c
  openmp/libomptarget/test/mapping/pr38704.c
  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/looptripcnt.c
  openmp/libomptarget/test/offloading/offloading_success.c
  openmp/libomptarget/test/offloading/offloading_success.cpp
  openmp/libomptarget/test/offloading/parallel_offloading_map.c
  openmp/libomptarget/test/offloading/requires.c
  openmp/libomptarget/test/offloading/target_depend_nowait.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84557.280586.patch
Type: text/x-patch
Size: 15715 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20200724/0d8565e6/attachment.bin>


More information about the Openmp-commits mailing list