[Openmp-commits] [PATCH] D149557: [OpenMP] Handle function calls from `libomp` to `libomptarget` correctly

Shilei Tian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon May 1 14:16:55 PDT 2023


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


================
Comment at: openmp/runtime/src/kmp_tasking.cpp:28
+void __kmp_init_target_task() {
+  *(void **)(&tgt_target_nowait_query) = KMP_DLSYM("__tgt_target_nowait_query");
+}
----------------
jdoerfert wrote:
> should we check/assert this is non-null, or do it later?
I'll add an assertion since it is supposed to be there.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149557



More information about the Openmp-commits mailing list