[all-commits] [llvm/llvm-project] 83c3d0: [OpenMP] Refactored the function `DeviceTy::data_e...

Shilei Tian via All-commits all-commits at lists.llvm.org
Wed Aug 19 13:08:32 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 83c3d07994c4cd24b9548362d03290af2a9483b0
      https://github.com/llvm/llvm-project/commit/83c3d07994c4cd24b9548362d03290af2a9483b0
  Author: Shilei Tian <tianshilei1992 at gmail.com>
  Date:   2020-08-19 (Wed, 19 Aug 2020)

  Changed paths:
    M openmp/libomptarget/src/api.cpp
    M openmp/libomptarget/src/device.cpp
    M openmp/libomptarget/src/device.h

  Log Message:
  -----------
  [OpenMP] Refactored the function `DeviceTy::data_exchange`

This patch contains the following changes:
1. Renamed the function `DeviceTy::data_exchange` to `DeviceTy::dataExchange`;
2. Changed the second argument `DeviceTy DstDev` to `DeviceTy &DstDev`;
3. Renamed the last argument.

Reviewed By: ye-luo

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




More information about the All-commits mailing list