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:
committed by
Philippe Tillet
parent
1fdb465b71
commit
39f4730305
@@ -35,6 +35,13 @@ extensions = []
|
||||
# Math Jax
|
||||
extensions += ['sphinx.ext.mathjax']
|
||||
|
||||
# Auto Doc
|
||||
import sys
|
||||
import os
|
||||
sys.path.insert(0, os.path.abspath('../python/'))
|
||||
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.autosummary', 'sphinx.ext.coverage', 'sphinx.ext.napoleon']
|
||||
autosummary_generate = True
|
||||
|
||||
# Sphinx gallery
|
||||
extensions += ['sphinx_gallery.gen_gallery']
|
||||
from sphinx_gallery.sorting import FileNameSortKey
|
||||
|
Reference in New Issue
Block a user