[Openmp-commits] [PATCH] D77951: [OpenMP] Refined CUDA plugin to put all CUDA operations into class

Shilei Tian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Sat Apr 11 11:43:37 PDT 2020


tianshilei1992 created this revision.
Herald added subscribers: openmp-commits, guansong, yaxunl.
Herald added a reviewer: jdoerfert.
Herald added a project: OpenMP.
tianshilei1992 edited the summary of this revision.
tianshilei1992 updated this revision to Diff 256788.
tianshilei1992 added a comment.
Herald added a subscriber: jfb.

Removed useless headers


Current implementation mixed everything up so that there is almost no encapsulation. In this patch, all CUDA related operations are put into a new class DeviceRTLTy and only necessary functions are exposed. In addition, all C++ code now conforms with LLVM code standard, keeping those API functions following C style.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D77951

Files:
  openmp/libomptarget/include/omptarget.h
  openmp/libomptarget/plugins/cuda/src/rtl.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77951.256788.patch
Type: text/x-patch
Size: 64525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20200411/9a82955e/attachment-0001.bin>


More information about the Openmp-commits mailing list