[Openmp-commits] [openmp] d179dfe - fix : add missing open brace [OpenMP][FIX] Avoid using an Error object after a std::move.
Ron Lieberman via Openmp-commits
openmp-commits at lists.llvm.org
Mon Jan 9 16:52:43 PST 2023
Author: Ron Lieberman
Date: 2023-01-09T19:52:16-05:00
New Revision: d179dfe8cee19c58f94878ddee7fa50666591a60
URL: https://github.com/llvm/llvm-project/commit/d179dfe8cee19c58f94878ddee7fa50666591a60
DIFF: https://github.com/llvm/llvm-project/commit/d179dfe8cee19c58f94878ddee7fa50666591a60.diff
LOG: fix : add missing open brace [OpenMP][FIX] Avoid using an Error object after a std::move.
Added:
Modified:
openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp
Removed:
################################################################################
diff --git a/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp b/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp
index b0b31b577ff8..3ff7e096ed30 100644
--- a/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp
+++ b/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp
@@ -902,7 +902,7 @@ int32_t __tgt_rtl_run_target_team_region_async(
auto Err = Plugin::get().getDevice(DeviceId).runTargetTeamRegion(
TgtEntryPtr, TgtArgs, TgtOffsets, NumArgs, NumTeams, ThreadLimit,
LoopTripCount, AsyncInfoPtr);
- if (Err)
+ if (Err) {
REPORT("Failure to run target region " DPxMOD " in device %d: %s\n",
DPxPTR(TgtEntryPtr), DeviceId, toString(std::move(Err)).data());
return OFFLOAD_FAIL;
More information about the Openmp-commits
mailing list