[Openmp-commits] [PATCH] D82245: [libomptarget] Add support for target update non-contiguous

Alexey Bataev via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Jun 22 13:59:44 PDT 2020


ABataev added inline comments.


================
Comment at: openmp/libomptarget/test/offloading/non_contiguous_update.c:1
+// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu && env OMP_MAX_ACTIVE_LEVELS=2 %libomptarget-run-aarch64-unknown-linux-gnu | %fcheck-aarch64-unknown-linux-gnu
+// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu && env OMP_MAX_ACTIVE_LEVELS=2 %libomptarget-run-powerpc64-ibm-linux-gnu | %fcheck-powerpc64-ibm-linux-gnu
----------------
cchen wrote:
> ABataev wrote:
> > We don't have support for this in clang yet, better to add a test that uses runtime calls directly for the new features.
> Is there any test file that I can refer to? The run line I wrote here is basically copied from other test files under libomptarget/test.
Sure, check `llvm-project/openmp/libomptarget/test/mapping/declare_mapper_api.cpp` for example


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82245/new/

https://reviews.llvm.org/D82245





More information about the Openmp-commits mailing list