[Openmp-commits] [PATCH] D44186: [Clang][OpenMP] New clang/libomptarget map interface: remove translation code

George Rokos via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Mar 6 19:26:30 PST 2018


grokos created this revision.
grokos added reviewers: Hahnfeld, jlpeyton, jhen.
grokos added a project: OpenMP.
Herald added a subscriber: guansong.

This patch removes the translation code since this functionality is now implemented in the compiler (patch pending). `target_data_begin` and `target_data_end` are also patched to handle some special cases that used to be handled by the obsolete translation function.

Since device IDs at the interface level are 64-bit long, this patch also makes sure that the internal representation is also 64-bit long.


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D44186

Files:
  libomptarget/include/omptarget.h
  libomptarget/src/device.cpp
  libomptarget/src/device.h
  libomptarget/src/interface.cpp
  libomptarget/src/omptarget.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44186.137318.patch
Type: text/x-patch
Size: 28475 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180307/bce7cc32/attachment-0001.bin>


More information about the Openmp-commits mailing list