jhuber6 wrote:

> IIRC, you discussed once to have GPU-agnostic intrinsics in LLVM-IR. The 
> backends then have to handle the details.

There's three approaches basically, wrapper header, builtins, and intrinsics. 
We could make some generic intrinsics but it would be a lot more work and 
duplicate a bunch of functions. I think the intrinsics were once suggested by 
@JonChesterfield, so maybe he could chime in. Even with this, it's still 
something we could provide in the future.

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

Reply via email to