yaxunl added a comment.

In D106315#2898536 <https://reviews.llvm.org/D106315#2898536>, @tra wrote:

> LGTM in general.
>
> One question -- does it have to be a function calling other functions just 
> for the sake of preserving them?
> Can it be a flat array of pointers to the functions you need to keep around?

Yes that's possible. However that would require FE to know these functions and 
declare them, whereas the current approach leave the concern to the device 
library.


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

https://reviews.llvm.org/D106315

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

Reply via email to