[Openmp-commits] [PATCH] D51107: [LIBOMPTARGET] Add support for mapping of lambda captures.
Alexey Bataev via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Thu Aug 23 06:32:16 PDT 2018
ABataev added inline comments.
================
Comment at: libomptarget/src/omptarget.cpp:637-638
+ DP("Copying data to device failed.\n");
+ rc = OFFLOAD_FAIL;
+ break;
+ }
----------------
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.
Repository:
rOMP OpenMP
https://reviews.llvm.org/D51107
More information about the Openmp-commits
mailing list