[all-commits] [llvm/llvm-project] 2cfe1a: [OpenMP][libomptarget][NFC] Change checkDeviceAndC...

Ye Luo via All-commits all-commits at lists.llvm.org
Tue Sep 7 12:00:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2cfe1a09d1023af90c5270325623e64ad57fc5b8
      https://github.com/llvm/llvm-project/commit/2cfe1a09d1023af90c5270325623e64ad57fc5b8
  Author: Ye Luo <yeluo at anl.gov>
  Date:   2021-09-07 (Tue, 07 Sep 2021)

  Changed paths:
    M openmp/libomptarget/src/interface.cpp
    M openmp/libomptarget/src/omptarget.cpp
    M openmp/libomptarget/src/private.h

  Log Message:
  -----------
  [OpenMP][libomptarget][NFC] Change checkDeviceAndCtors return type to bool.

What is exactly needed is only a boolean. Pulling OFFLOAD_SUCCESS/FAIL only adds confusion.

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




More information about the All-commits mailing list