()
| 5 | |
| 6 | @tilelang.jit |
| 7 | def get_shared_kernel(): |
| 8 | @T.prim_func |
| 9 | def shared_kernel(): |
| 10 | with T.Kernel(1, threads=32): |
| 11 | tx = T.get_thread_binding() |
| 12 | shared_mem = T.alloc_shared((32), dtype="float32", scope="shared") |
| 13 | if tx % 2 == 0: |
| 14 | a = shared_mem[tx] |
| 15 | shared_mem[tx ^ 1] = a |
| 16 | |
| 17 | return shared_kernel |
| 18 | |
| 19 | |
| 20 | def test_issue_1026(): |
no outgoing calls
no test coverage detected
searching dependent graphs…