[DOC] Fix syntax errors, typos, formatting; increase consistency (#1357)

This PR;
- Fixes syntax errors like `.type values: dict[str,
Callable[[list[Any]], Any]]` to `:type values: dict[str,
Callable[[list[Any]], Any]]`,
- Fixes typos,
- Fixes formatting like `k ++` to ` k++`,
- Increases consistency (e.g. by transforming the minority `cd dir/` to
the majority `cd dir`).
This commit is contained in:
Berke Kocaoğlu
2023-03-17 01:32:02 +03:00
committed by GitHub
parent d00bc5af67
commit ba91f39dbf
31 changed files with 173 additions and 152 deletions

View File

@@ -1,11 +1,11 @@
triton.language
================
===============
.. currentmodule:: triton.language
Programming Model
-------------------
-----------------
.. autosummary::
:toctree: generated
@@ -16,7 +16,7 @@ Programming Model
Creation Ops
-------------
------------
.. autosummary::
:toctree: generated
@@ -27,7 +27,7 @@ Creation Ops
Shape Manipulation Ops
-----------------------
----------------------
.. autosummary::
:toctree: generated
@@ -40,7 +40,7 @@ Shape Manipulation Ops
Linear Algebra Ops
-------------------
------------------
.. autosummary::
:toctree: generated
@@ -48,8 +48,9 @@ Linear Algebra Ops
dot
Memory Ops
--------------------
----------
.. autosummary::
:toctree: generated
@@ -62,7 +63,7 @@ Memory Ops
Indexing Ops
--------------
------------
.. autosummary::
:toctree: generated
@@ -72,7 +73,7 @@ Indexing Ops
Math Ops
----------
--------
.. autosummary::
:toctree: generated
@@ -88,7 +89,7 @@ Math Ops
Reduction Ops
---------------
-------------
.. autosummary::
:toctree: generated
@@ -98,8 +99,9 @@ Reduction Ops
min
sum
Atomic Ops
---------------
----------
.. autosummary::
:toctree: generated
@@ -112,7 +114,7 @@ Atomic Ops
Comparison ops
---------------
--------------
.. autosummary::
:toctree: generated
@@ -124,7 +126,7 @@ Comparison ops
.. _Random Number Generation:
Random Number Generation
-------------------------
------------------------
.. autosummary::
:toctree: generated
@@ -135,11 +137,12 @@ Random Number Generation
rand
randn
Compiler Hint Ops
-------------------
-----------------
.. autosummary::
:toctree: generated
:nosignatures:
multiple_of
multiple_of

View File

@@ -1,5 +1,5 @@
triton
========
======
.. currentmodule:: triton
@@ -10,4 +10,4 @@ triton
jit
autotune
heuristics
Config
Config

View File

@@ -1,5 +1,5 @@
triton.testing
================
==============
.. currentmodule:: triton.testing
@@ -9,4 +9,4 @@ triton.testing
do_bench
Benchmark
perf_report
perf_report