Introduce OpenCL-style global_id op and corresponding spirv lowering.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/include/mlir/Dialect/GPU/GPUOps.td | ||
---|---|---|
117 | There definitely has to be more description and explanation here -- at least on par with what you have above thread_id and block_id ops. |
mlir/include/mlir/Dialect/GPU/GPUOps.td | ||
---|---|---|
117 | I'd suggest something like: Returns the unique global workitem/thread id, i.e., the unique index of the current workitem/thread within all workgroups / grid along the x, y, or z `dimension`. |
There definitely has to be more description and explanation here -- at least on par with what you have above thread_id and block_id ops.