jhuber6 wrote:

> LGTM. AFAIK only device libs compile OpenCL code without -mcpu. I don't think 
> it uses any of these predefined macros.

That's what I figured from a cursory look at the ROCm-Device-Libs. The goal is 
to formalize this more to make more generic LLVM-IR.

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

Reply via email to