ggeorgakoudis added a comment.

In D102107#2776237 <https://reviews.llvm.org/D102107#2776237>, @jdoerfert wrote:

> This allows us to remove the switch in the device runtime, right?

Yes, with a complication: for combined directives of worksharing loops 
(distributed parallel for) clang emits the lower bound and upper bound as 
distinct parameters besides the global tid, bound tid and the captured 
variables (aggregated in the struct of this patch). We will need to have a flag 
in parallel_51 to unwrap the global args array for this case.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102107

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

Reply via email to