[Openmp-commits] [PATCH] D51107: [LIBOMPTARGET] Add support for mapping of lambda captures.

Jonas Hahnfeld via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Aug 23 06:43:35 PDT 2018


Hahnfeld added inline comments.


================
Comment at: libomptarget/src/omptarget.cpp:637-638
+          DP("Copying data to device failed.\n");
+          rc = OFFLOAD_FAIL;
+          break;
+        }
----------------
ABataev wrote:
> Hahnfeld wrote:
> > ABataev wrote:
> > > Hahnfeld wrote:
> > > > After D50522 this should probably be `return OFFLOAD_FAIL`
> > > I think this code is ok. It exits from the main loop and then returns `rc` as a result. 
> > Yep, and D50522 changes the existing code to `return OFFLOAD_FAIL` so this patch should do the same.
> Ahh, now I see. Do you want me to make it return `OFFLOAD_FAIL` right now or after D50522 is landed?
Depends on the order in which the changes are committed :) the end result will be the same, it's just a matter of who needs to update his patch.


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D51107





More information about the Openmp-commits mailing list