kurapov-peter wrote: @victor-eds, @fabianmcg, @ftynse, @kuhar, @sommerlukas, please take a look. This avoids the changes to validation in the GPU dialect and follows a similar approach taken in the SPIRV lowering. https://github.com/llvm/llvm-project/pull/105664