jhuber6 wrote:

> Not sure I follow, these can't coexist. They both have the exact same OpenCL 
> functions with itanium mangling

The headers that HIP/CUDA use eagerly rewrite `sin` and `std::sin` to 
`__ocml_sin_f64` via force-included headers. So if those headers are still 
included there's no way to resolve math without using the same symbols.

https://github.com/llvm/llvm-project/pull/204865
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to