Files
pytorch/docs
rzou 827c322290 Make torch.library.triton_op public (#141880)
We've been using it privately for half a year and everything's been
good. This PR:
1. Makes torch.library.triton_op public
2. Renames capture_triton -> wrap_triton. We got feedback that no one
   knew what "capture triton" does.
3. Makes torch.library.wrap_triton public.

triton_op is used to construct a Python custom operator that may call 1+
triton kernels. Each of those triton kernels must be annotated with
wrap_triton.

Test Plan:
- existing tests

Pull Request resolved: https://github.com/pytorch/pytorch/pull/141880
Approved by: https://github.com/albanD
ghstack dependencies: #141894
2024-12-03 16:28:56 +00:00
..
2024-10-22 21:00:58 +00:00
2019-10-08 12:18:30 -07:00
2020-05-21 13:03:55 -07:00
2024-11-26 21:56:54 +00:00

Please see the Writing documentation section of CONTRIBUTING.md for details on both writing and building the docs.