ABataev added inline comments.

================
Comment at: lib/CodeGen/CGOpenMPRuntime.cpp:5122
+    NewTask = CGF.EmitRuntimeCall(
+      createRuntimeFunction(OMPRTL__kmpc_omp_target_task_alloc), AllocArgs);
+  } else {
----------------
gtbercea wrote:
> ABataev wrote:
> > Can we use the same function in both modes, with nowait clause and without?
> For nowait we need to use the target_task_alloc variant. There are runtimes - 
> other than the open source one - for which this function does something 
> different.
Trunk relies only to libomptarget interfaces. Why we should take into account 
some other runtime libraries? Plus, what's so different for async and non-async 
versions of the directive?


Repository:
  rC Clang

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

https://reviews.llvm.org/D63009



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to