[all-commits] [llvm/llvm-project] 2187cb: [OpenMP][libomptarget] Add __tgt_target_return_t e...

Ye Luo via All-commits all-commits at lists.llvm.org
Fri Sep 10 14:11:24 PDT 2021


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

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

  Log Message:
  -----------
  [OpenMP][libomptarget] Add __tgt_target_return_t enum for __tgt_target_XXX return int

The defintion of OFFLOAD_SUCCESS and OFFLOAD_FAIL used in plugin APIs and libomptarget public APIs are not consistent.
Create __tgt_target_return_t for libomptarget public APIs.

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




More information about the All-commits mailing list