jhuber6 wrote: > There was an attempt to add universal GPU builtins in #131190 . Between these > 2 patches I prefer the current approach as it adds more common functionality > for all vendors. Yet let me tag folks that have participated in a discussion > of the mentioned PR.
I would love to have common SPIR-V builtins that mapped roughly with what the other targets have. I'm not a fan of the current approach where each vendor just makes the SPIR-V vendor dependent anyway. I'm not overly familiar with the SPIR-V spec, but I was mostly wondering how to implement things like `ballot` or some other warp / wave intrinsics. If I had a basis set of these I could think about porting some of my GPU libraries to SPIR-V. https://github.com/llvm/llvm-project/pull/143909 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits