[PATCH] D73651: [OpenCL][CUDA][HIP] Add norecurse

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 29 11:31:12 PST 2020


tra accepted this revision.
tra added a comment.
This revision is now accepted and ready to land.

LGTM for CUDA.



================
Comment at: clang/lib/CodeGen/CodeGenFunction.cpp:918
+  //
+  // ToDo: clang does not support CUDA/HIP dynamic parallelism, therefore
+  // CUDA/HIP kernel can be marked with norecurse. This may change in the
----------------
I believe dynamic parallelism is more like spawning a separate process, not recursion, so we should be OK.


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

https://reviews.llvm.org/D73651





More information about the cfe-commits mailing list