[all-commits] [llvm/llvm-project] 4031bb: [OpenMP] Refined CUDA plugin to put all CUDA opera...

Shilei Tian via All-commits all-commits at lists.llvm.org
Mon Apr 13 10:33:05 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4031bb982b7a9bf8603851516ad72374ccc09a6f
      https://github.com/llvm/llvm-project/commit/4031bb982b7a9bf8603851516ad72374ccc09a6f
  Author: Shilei Tian <tianshilei1992 at gmail.com>
  Date:   2020-04-13 (Mon, 13 Apr 2020)

  Changed paths:
    M openmp/libomptarget/plugins/cuda/src/rtl.cpp

  Log Message:
  -----------
  [OpenMP] Refined CUDA plugin to put all CUDA operations into class

Summary: 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.

Reviewers: jdoerfert

Reviewed By: jdoerfert

Subscribers: jfb, yaxunl, guansong, openmp-commits

Tags: #openmp

Differential Revision: https://reviews.llvm.org/D77951




More information about the All-commits mailing list