[Openmp-commits] [PATCH] D77822: [OpenMP] Put old APIs back and added new _async series for backward compatibility

Shilei Tian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Apr 9 17:39:26 PDT 2020


tianshilei1992 marked an inline comment as done.
tianshilei1992 added inline comments.


================
Comment at: openmp/libomptarget/src/omptarget.cpp:822
+
+  return OFFLOAD_SUCCESS;
 }
----------------
jdoerfert wrote:
> I'd prefer to always call sync and it's a noop if it should be. Oh, they are optional now. OK.
Yes, basically if `synchronize` is `nullptr`, all operations will fall back to synchronous version.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77822/new/

https://reviews.llvm.org/D77822





More information about the Openmp-commits mailing list