arsenm wrote:

> They should not "just work" if you're compiling for vanilla C/C++ (so not 
> CUDA C++, or SYCL, or OpenCL C/C++ etc.) because neither of those defines 
> such a notion.

a6a237f2046ad8993db30481c8b61aeb2f73a5ad added an explicit addrspace_cast 
operator. It would be better to use something like this rather than just freely 
enabling any implicit cast 

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

Reply via email to