jdoerfert added a comment.

In D99689#2662852 <https://reviews.llvm.org/D99689#2662852>, @ABataev wrote:

> In D99689#2662848 <https://reviews.llvm.org/D99689#2662848>, @jdoerfert wrote:
>
>> Can you please show me a test case or explain to me when/how this global is 
>> actually used.
>
> It is passed as an argument to the target region. When libomptarget requests 
> the memory for the firstprivate, it returns the pointer to this const global, 
> which then passed as argument to the kernel.

So if we use it, why would we disable it?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99689

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

Reply via email to