[PATCH] D63009: [OpenMP] Add target task alloc function with device ID

Gheorghe-Teodor Bercea via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 14 07:14:23 PDT 2019


gtbercea marked 2 inline comments as done.
gtbercea added inline comments.


================
Comment at: lib/CodeGen/CGOpenMPRuntime.cpp:5122
+    NewTask = CGF.EmitRuntimeCall(
+      createRuntimeFunction(OMPRTL__kmpc_omp_target_task_alloc), AllocArgs);
+  } else {
----------------
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.


Repository:
  rC Clang

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

https://reviews.llvm.org/D63009





More information about the cfe-commits mailing list