[Openmp-commits] [PATCH] D14254: [OpenMP] Initial implementation of OpenMP offloading library - libomptarget device RTLs.

Samuel Antao via Openmp-commits openmp-commits at lists.llvm.org
Mon Nov 2 12:06:56 PST 2015


sfantao created this revision.
sfantao added reviewers: ABataev, hfinkel, jcownie, jlpeyton.
sfantao added subscribers: openmp-commits, AlexEichenberger, Hahnfeld, hyviquel, caomhin, carlo.bertolli, andreybokhanko, sergos.

This patch is a partition of the original patch posted in http://reviews.llvm.org/D14031.

This patch implements the device runtime library whose interface is used in the code generation for OpenMP offloading devices. Currently there is a single device RTL written in CUDA meant to CUDA enabled GPUs. The interface is a variation of the kmpc interface that includes some extra calls to do thread and storage management that only make sense for a GPU target. 

Depends on  http://reviews.llvm.org/D14031.

http://reviews.llvm.org/D14254

Files:
  libomptarget/CMakeLists.txt
  libomptarget/deviceRTLs/CMakeLists.txt
  libomptarget/deviceRTLs/nvptx/CMakeLists.txt
  libomptarget/deviceRTLs/nvptx/src/cancel.cu
  libomptarget/deviceRTLs/nvptx/src/counter_group.h
  libomptarget/deviceRTLs/nvptx/src/counter_groupi.h
  libomptarget/deviceRTLs/nvptx/src/critical.cu
  libomptarget/deviceRTLs/nvptx/src/debug.cu
  libomptarget/deviceRTLs/nvptx/src/debug.h
  libomptarget/deviceRTLs/nvptx/src/interface.h
  libomptarget/deviceRTLs/nvptx/src/libcall.cu
  libomptarget/deviceRTLs/nvptx/src/loop.cu
  libomptarget/deviceRTLs/nvptx/src/omptarget-nvptx.cu
  libomptarget/deviceRTLs/nvptx/src/omptarget-nvptx.h
  libomptarget/deviceRTLs/nvptx/src/omptarget-nvptxi.h
  libomptarget/deviceRTLs/nvptx/src/option.h
  libomptarget/deviceRTLs/nvptx/src/parallel.cu
  libomptarget/deviceRTLs/nvptx/src/reduction.cu
  libomptarget/deviceRTLs/nvptx/src/stdio.cu
  libomptarget/deviceRTLs/nvptx/src/support.h
  libomptarget/deviceRTLs/nvptx/src/supporti.h
  libomptarget/deviceRTLs/nvptx/src/sync.cu
  libomptarget/deviceRTLs/nvptx/src/task.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14254.38955.patch
Type: text/x-patch
Size: 246140 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20151102/365a9eb2/attachment-0001.bin>


More information about the Openmp-commits mailing list