MrSidims wrote: > You could make an extension to disable this feature instead of putting it in > the compiler I'd think.
By introducing an extension one introduces a new language-visible semantics. Outlining kernel implementation is neither new kernel language construct nor new host API. So I personally don't see, how adding an extension would help here, unless this extension disallows to call a kernel by another kernel, which is reasonable, yet drastic change in OpenCL. Also note, that propagation of an extension support to the drivers (remember, OpenCL runtime should also be aware of a new extension and should report it as known) can take a while, especially taken into an account, that probably such extension should be promoted to KHR and be supported by multiple vendors. https://github.com/llvm/llvm-project/pull/115821 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits