Function
test_fence
(A: T.Buffer((16, 16), "float16"))
Source from the content-addressed store, hash-verified
| 95 | # fmt: off |
| 96 | @T.prim_func |
| 97 | def test_fence(A: T.Buffer((16, 16), "float16")): |
| 98 | T.device_entry() |
| 99 | cta_id = T.cta_id([1]) |
| 100 | warp_id = T.warp_id([4]) |
| 101 | lane_id = T.lane_id([32]) |
| 102 | tid = T.thread_id([128]) |
| 103 | T.ptx.tcgen05.fence.before_thread_sync() |
| 104 | T.ptx.bar.sync(0, 32) |
| 105 | T.ptx.tcgen05.fence.after_thread_sync() |
| 106 | # fmt: on |
| 107 | |
| 108 | target = tvm.target.Target("cuda") |
Callers
nothing calls this directly
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…