krzysz00 wrote: If you set this attribute on a host function, the lowering for host functions will ignore it. If you had a `gpu.thread_id x` in a function that ends up being a host function ... lowering failure, since thhere's no XToLLVM for x86_64 https://github.com/llvm/llvm-project/pull/95166