Commit Graph

11 Commits

Author SHA1 Message Date
Philippe Tillet
85d1b02e16 [DOCS] Switched tutorials to Python and use Sphinx Gallery 2021-03-06 14:03:01 -05:00
Philippe Tillet
5dd4cfc077 [DOCS] Added .ipynb tutorials in docs 2021-03-06 02:57:41 -05:00
Philippe Tillet
79d098450f [PYTHON][TESTS][DOC] Various improvement of the API and code quality:
* Simplified `triton.kernel` API to achieve lower latency:
  > .data_ptr() must now be passed as kernel argument. No more implicit
conversion from torch.tensor
  > compilation options are now constant attributes, i.e., opt.d('VAR')
becomes opt.VAR
  > torch.device must now be passed explicitly to triton.kernel (no
longer inferred from torch.tensor arguments)
* C++ tests moved to `python/tests/`
* C++ tutorial created in `tutorials/`
* Python tutorial created in python/tutorials/
* Version changed to 1.0alpha
* No longer copying C++ headers into the Python package
* added python/triton/ops/ package for pre-written Triton ops
2021-01-29 17:27:16 -05:00
jack-willturner
5fddc2062e [DOCS] Transposition fix 2020-05-07 14:02:18 +01:00
jack-willturner
f5d47536c5 [DOCS] Matmul and vecadd working examples 2020-05-04 16:25:17 +01:00
Philippe Tillet
699711724a [DOCS] Fixed typo: triton.function -> torch.autograd.Function 2020-03-13 11:44:55 -04:00
Philippe Tillet
7ee3380faf [DOCS] Made documentation consistent with the new kernel API 2020-03-10 13:25:57 -04:00
Philippe Tillet
ae462e4fa1 [DOCS][TUTORIALS] Fixed typo 2020-02-10 04:22:45 -05:00
Philippe Tillet
0493863ee9 [DOC] Fixed formatting issues in tutorial 2020-02-10 03:27:36 -05:00
Philippe Tillet
868922e9b0 [DOC] Added more tutorials 2020-02-10 03:18:23 -05:00
Philippe Tillet
56330f1fdf [DOC] Basic Sphynx skeleton 2020-02-10 01:56:45 -05:00