rnk wrote:

I assume it is safe for all device side compilations to ignore this attribute. 
Presumably device code uses fully general patterns to access global data that 
could live in any shared object. Most device ISAs are virtual anyway, it's not 
like they're going to use PC relative addressing to access this data, they'll 
have a full-width pointer somewhere / somehow. So, if there's an easy way to 
suppress the warning for device ISAs, that would be reasonable IMO.

https://github.com/llvm/llvm-project/pull/124834
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to