MrSidims wrote: Hi @ZijunZhaoCCK , sorry, I'm quite late for the party, but may I ask you some questions?
We want to be able to distinguish between Vulkan and OpenCL environments in [SPIR-V backend](https://github.com/intel/llvm/tree/sycl/llvm/lib/Target/SPIRV), so we could be able to pick between Shader and Kernel capabilities depending on the environment. And OpenCL environment added by this patch seems like the perfect match for us. We would also need to change OpenCL CodeGen in clang to start emitting this part of the triple, but before doing that I'd like to check, what was the intention under adding OpenCL environment in this PR (as currently it's not exposed in LLVM anywhere, so I could take a look)? Particularly I'd like to know, whether your intentions were to add OpenCL as a language to the triple or OpenCL as an execution environment? https://github.com/llvm/llvm-project/pull/78655 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits