Commit Graph

384 Commits

Author SHA1 Message Date
Philippe Tillet
d7be0edb15 [documentation] swapped the order of pytriton and triton-c tutorial in README.md 2019-09-10 21:17:22 -04:00
Philippe Tillet
41acac6ba1 [documentation] added description of the __multipleof attribute 2019-09-10 14:16:52 -04:00
Philippe Tillet
df2455f4b8 [documentation][triton-c] grammar 2019-09-10 13:43:03 -04:00
Philippe Tillet
8111d56ee9 [documentation][triton-c] improved wording on Triton-C being
single-threaded
2019-09-10 13:36:34 -04:00
Philippe Tillet
7f21a63ae1 [documentation][triton-c] clearer motivations; now starting each snippet
with the language it's written in
2019-09-10 13:34:26 -04:00
Philippe Tillet
59c667801c [documentation][triton-c] fixed syntax highlighting on conditional transposition example 2019-09-10 12:28:42 -04:00
Philippe Tillet
d3491e01a9 [documentation][triton-c] making it clearer that it is not (yet) an MLIR dialect 2019-09-10 12:27:28 -04:00
Philippe Tillet
ab33e84337 [documentation] improved wording in triton-c tutorial 2019-09-10 03:01:41 -04:00
Philippe Tillet
ef1feefe7f [lang] added __global__ storage specifier 2019-09-10 02:01:09 -04:00
Philippe Tillet
060498cad1 [documentation] fixed broken references in PyTriton tutorial 2019-09-10 01:36:11 -04:00
Philippe Tillet
3c88a206c3 [documentation] fixed formating issue in pytriton tutorial 2019-09-10 01:33:30 -04:00
Philippe Tillet
898b116f30 [documentation] added pytriton tutorial 2019-09-10 01:32:31 -04:00
Philippe Tillet
e1019cff3a [documentations] updated pytriton tutorial 2019-09-10 00:35:02 -04:00
Philippe Tillet
7d3fb6c390 [documentation] updated triton-c tutorial 2019-09-09 19:02:57 -04:00
Philippe Tillet
b953051eee [documentation] improved wording of triton-c tutorial 2019-09-09 04:09:23 -04:00
Philippe Tillet
433b08b39b [documentation] added [coming soon...] for tutorials in progress 2019-09-09 02:38:23 -04:00
Philippe Tillet
c0fa4e0a57 Merge branch 'master' of https://github.com/ptillet/triton 2019-09-09 02:29:54 -04:00
Philippe Tillet
4a69af08e7 [documentation] added README.md and first part of the Triton-C tutorial 2019-09-09 02:29:18 -04:00
Philippe Tillet
0ff81badac [driver] added TRITON_LIBCUDA environment variable to specify libcuda
path if not in LD_LIBRARY_PATH
2019-09-06 13:26:51 -04:00
Philippe Tillet
96bdae25d5 [python][example] now executing tensorflow and/or pytorch example
automatically
2019-09-05 21:35:23 -04:00
Philippe Tillet
b79bcbaee8 [auto-tuning] now not compiling kernels that use too much shared memory 2019-09-05 21:03:09 -04:00
Philippe Tillet
1f8fd525b5 [python] fixed warnings for pybind11 and pytorch 2019-09-05 20:28:00 -04:00
Philippe Tillet
3fd61c1a02 [cmake] better FindLLVM 2019-09-05 17:48:29 -04:00
Philippe Tillet
0405509190 [python] setup.py now finds LLVM version if available 2019-09-05 17:47:53 -04:00
Philippe Tillet
18848cbb71 [driver] now passing std::unique_ptr<> instead of cloning LLVM module
when compiling it
2019-09-05 17:25:58 -04:00
Philippe Tillet
0a6329ea7d [python] more robust way to add triton includes to python package 2019-09-05 16:01:56 -04:00
Philippe Tillet
945593e847 [python] using generic path for triton include directories 2019-09-05 15:42:43 -04:00
Philippe Tillet
7bfbb89612 [python] now packaging include and libtriton in triton._C submodule 2019-09-05 15:37:00 -04:00
Philippe Tillet
9ab2880fba [python][examples] cleaned up dot example 2019-09-05 12:54:35 -04:00
Philippe Tillet
2d6c8311e8 [python] upgraded pybind11 ; forcing torch tensors to be contiguous() 2019-09-05 12:30:51 -04:00
Philippe Tillet
58544d0523 [python] renamed src/tensorflow.cc -> src/bindings.cc 2019-09-05 09:39:58 -04:00
Philippe Tillet
b2629da1fe [python] more cleaning of frameworks logic 2019-09-05 02:21:07 -04:00
Philippe Tillet
44896ee777 [pytorch] clean-up of dynamic framework load 2019-09-05 02:16:27 -04:00
Philippe Tillet
65133cdf33 [python] basic support for pytorch seems to be working 2019-09-05 01:32:21 -04:00
Philippe Tillet
ed0f706005 [python] fixed various issues in pytorch supoport 2019-09-05 00:19:42 -04:00
Philippe Tillet
945b5d0de9 [python] modularized triton package 2019-09-04 21:55:47 -04:00
Philippe Tillet
f6e9c24fe8 [python] more progress towards tensorflow/pytorch unification 2019-09-04 19:45:50 -04:00
Philippe Tillet
cdbc9d4ecd [python] more generic gradient registration 2019-09-04 03:12:23 -04:00
Philippe Tillet
b747959a57 trying to work around tensorflow limitations 2019-09-04 01:54:43 -04:00
Philippe Tillet
2ccc915011 [python][examples] added template for blocksparse 2019-09-03 20:44:27 -04:00
Philippe Tillet
5e03f0a065 [codegen][align] reverted some changes 2019-09-03 15:28:07 -04:00
Philippe Tillet
97fdb5b6be [tests] added missing files 2019-09-03 12:44:35 -04:00
Philippe Tillet
a842d337c5 [general] various cleaning and bugfix:
* added copy1d and copy2d benchmark
* fixed issue in reassociation pass
2019-09-02 23:00:49 -04:00
Philippe Tillet
90d80c3b2e [codegen][selection] bugfix in scanline dot lowering 2019-09-01 16:30:53 -04:00
Philippe Tillet
2d4ddab4d0 [ir][print] improved pretty-printing of constants and instructions 2019-08-30 18:02:33 -07:00
Philippe Tillet
5db3a7adfe [python][examples] some more cleaning of dot product example 2019-08-30 17:05:03 -07:00
Philippe Tillet
7e0af2118c [codegen] worked around bug seemingly from nvptx/ptxas by simplifying multiplications by 1:
- Generated LLVM-IR looked correct
- Illegal addressing disappeared when running cuda-memcheck
- Illegal addressing disappeared when using nvptx-short-pointer
2019-08-30 16:45:14 -07:00
Philippe Tillet
141a823799 [python] refactoring in anticipation of pytorch support 2019-08-29 18:08:51 -07:00
Philippe Tillet
e3c953e79f [test] added more re-usable code in common/util.h 2019-08-28 18:06:36 -07:00
Philippe Tillet
d457482539 [codegen] fixed issue in double buffering pointer update 2019-08-28 17:50:45 -07:00