Deprecation of Triton-C and Replacement by decorated Python functions (#86)

This PR implements a major overhaul of the frontend for Triton, and replaces Triton-C by a pure Python API in which kernels are defined as @triton.jit decorated functions. The documentation and tutorials have also been updated to accommodate these changes.

See documentations for more information on the new API
This commit is contained in:
Philippe Tillet
2021-04-20 22:29:40 -04:00
committed by Philippe Tillet
parent 1fdb465b71
commit 39f4730305
91 changed files with 4500 additions and 13008 deletions

View File

@@ -17,15 +17,27 @@ Getting Started
getting-started/installation
getting-started/tutorials/index
Programming Guide
Language Reference
-------------------
- Checkout the :doc:`Python API Documentation <language-reference/python-api/index>`
.. toctree::
:maxdepth: 1
:caption: Language Reference
:hidden:
language-reference/python-api/index
Going Further
------------------
Check out the following documents to learn more about Triton and how it compares against other DSLs for DNNs:
- Chapter 1: :doc:`Introduction <programming-guide/chapter-1/introduction>`
- Chapter 2: :doc:`Related Work <programming-guide/chapter-2/related-work>`
- Chapter 3: :doc:`The Triton-C Language <programming-guide/chapter-3/triton-c>`
- Chapter 4: :doc:`The Triton-IR Intermediate Representation <programming-guide/chapter-4/triton-ir>`
.. toctree::
:maxdepth: 1
@@ -33,6 +45,4 @@ Check out the following documents to learn more about Triton and how it compares
:hidden:
programming-guide/chapter-1/introduction
programming-guide/chapter-2/related-work
programming-guide/chapter-3/triton-c
programming-guide/chapter-4/triton-ir
programming-guide/chapter-2/related-work