(size: int, alignment: int, stream: Optional[int])
| 162 | |
| 163 | # TMA descriptors require a global memory allocation |
| 164 | def alloc_fn(size: int, alignment: int, stream: Optional[int]): |
| 165 | return torch.empty(size, device="cuda", dtype=torch.int8) |
| 166 | |
| 167 | triton.set_allocator(alloc_fn) |
| 168 |
nothing calls this directly
no outgoing calls
no test coverage detected