[Openmp-commits] [PATCH] D109304: [OpenMP][libomptarget] Add __tgt_target_return_t enum for __tgt_target_XXX return int
Shilei Tian via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Sep 7 19:10:57 PDT 2021
tianshilei1992 added inline comments.
================
Comment at: openmp/libomptarget/src/interface.cpp:396
handleTargetOutcome(rc == OFFLOAD_SUCCESS, loc);
- return rc;
+ assert(rc == OFFLOAD_SUCCESS &&
+ "__tgt_target_teams_mapper unexpected failure!");
----------------
What is this for?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109304/new/
https://reviews.llvm.org/D109304
More information about the Openmp-commits
mailing list