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

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon May 1 13:36:48 PDT 2023


jdoerfert 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");
+}
----------------
should we check/assert this is non-null, or do it later?


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