[Mlir-commits] [mlir] [mlir][affine]make threadid op is valid symbol. (PR #118478)

Krzysztof Drewniak llvmlistbot at llvm.org
Mon Dec 16 09:59:18 PST 2024


krzysz00 wrote:

Yeah, seconding pulling the thread ID out of the loop and `affine.apply`-ing it in as an immediate solution.

*However,* - and I think this discussion should be postponed to next year because people are out for holidays - I do agree that a `gpu.thread_id` has dimension-like properties so ... maybe there's something here?

I'm not sure I like the idea of "affine symbol" being the trait name, though I don't have a better one ... if we want to pursue this.

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


More information about the Mlir-commits mailing list