(size: int, alignment: int, stream: Optional[int])
| 642 | |
| 643 | # TMA descriptors require a global memory allocation |
| 644 | def alloc_fn(size: int, alignment: int, stream: Optional[int]): |
| 645 | return torch.empty(size, device="cuda", dtype=torch.int8) |
| 646 | |
| 647 | triton.set_allocator(alloc_fn) |
| 648 |
nothing calls this directly
no outgoing calls
no test coverage detected