[clang] [llvm] [OpenMP] Introduce the ompx_name clause for kernel naming (PR #200301)

Johannes Doerfert via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 1 12:57:30 PDT 2026


jdoerfert wrote:

> What do we expect the use of this name scheme?

3 immediate use cases (some with follow up patches under preparation):

1) debug experience, you can follow what kernels are executed in debug and profiler outputs Before that was cumbersome or even borderline impossible.
2) get kernel information, reg count, shared mem usage, etc. after you obtain a handle via the name (and device).
3) launch kernels by name. We need that eventually for other languages, OpenMP could do that too if we get argument information from 2).


https://github.com/llvm/llvm-project/pull/200301


More information about the cfe-commits mailing list