[Openmp-commits] [PATCH] D40281: [Clang][OpenMP] New clang/libomptarget map interface: new function signatures, clang-side

George Rokos via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Nov 20 21:18:47 PST 2017


grokos created this revision.
grokos added projects: clang, OpenMP.

This clang patch changes the __tgt_* API function signatures in preparation for the new map interface. A corresponding libomptarget patch will follow.

Changes are:

1. Device IDs 32bits --> 64bits
2. Flags 32bits --> 64bits


Repository:
  rL LLVM

https://reviews.llvm.org/D40281

Files:
  lib/CodeGen/CGOpenMPRuntime.cpp
  test/OpenMP/capturing_in_templates.cpp
  test/OpenMP/target_codegen.cpp
  test/OpenMP/target_codegen_registration.cpp
  test/OpenMP/target_data_codegen.cpp
  test/OpenMP/target_data_use_device_ptr_codegen.cpp
  test/OpenMP/target_enter_data_codegen.cpp
  test/OpenMP/target_exit_data_codegen.cpp
  test/OpenMP/target_firstprivate_codegen.cpp
  test/OpenMP/target_is_device_ptr_codegen.cpp
  test/OpenMP/target_map_codegen.cpp
  test/OpenMP/target_parallel_codegen.cpp
  test/OpenMP/target_parallel_codegen_registration.cpp
  test/OpenMP/target_parallel_for_codegen.cpp
  test/OpenMP/target_parallel_for_codegen_registration.cpp
  test/OpenMP/target_parallel_for_simd_codegen.cpp
  test/OpenMP/target_parallel_for_simd_codegen_registration.cpp
  test/OpenMP/target_parallel_if_codegen.cpp
  test/OpenMP/target_parallel_num_threads_codegen.cpp
  test/OpenMP/target_simd_codegen.cpp
  test/OpenMP/target_simd_codegen_registration.cpp
  test/OpenMP/target_teams_codegen.cpp
  test/OpenMP/target_teams_codegen_registration.cpp
  test/OpenMP/target_teams_num_teams_codegen.cpp
  test/OpenMP/target_teams_thread_limit_codegen.cpp
  test/OpenMP/target_update_codegen.cpp
  test/OpenMP/teams_codegen.cpp
  test/OpenMP/teams_distribute_codegen.cpp
  test/OpenMP/teams_distribute_firstprivate_codegen.cpp
  test/OpenMP/teams_distribute_private_codegen.cpp
  test/OpenMP/teams_distribute_reduction_codegen.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40281.123713.patch
Type: text/x-patch
Size: 275276 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20171121/755fb950/attachment-0001.bin>


More information about the Openmp-commits mailing list