diff options
| author | Alan Li <me@alanli.org> | 2025-04-29 10:54:48 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-29 10:54:48 -0400 |
| commit | ac65b2c327d791a4731360c52625d11b8d233449 (patch) | |
| tree | fb1e9d2d178c3142b3d30796e05edeb07eb169f5 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h | |
| parent | b62afbccc8da8a14d06db68cd58cb48a14d79f91 (diff) | |
| download | llvm-ac65b2c327d791a4731360c52625d11b8d233449.zip llvm-ac65b2c327d791a4731360c52625d11b8d233449.tar.gz llvm-ac65b2c327d791a4731360c52625d11b8d233449.tar.bz2 | |
[MLIR][GPU] Add a pattern to rewrite gpu.subgroup_id (#137671)
This patch impelemnts a rewrite pattern for transforming
`gpu.subgroup_id` to:
```
subgroup_id = linearized_thread_id / gpu.subgroup_size
```
where:
```
linearized_thread_id = thread_id.x + block_dim.x * (thread_id.y + block_dim.y * thread_id.z)
```
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions
