Logo
Explore Help
Sign In
gaspersic/triton
1
0
Fork 0
You've already forked triton
Code Issues Pull Requests Packages Projects Releases Wiki Activity
Files
de5b84c476a755e99d14568d2ccc3180b6fa8f0b
triton/python/examples/empty.py

14 lines
214 B
Python
Raw Normal View History

[FRONTEND] Backport new runtime from `master` (#706) This PR merges the new runtime back into the `triton-mlir` branch. This adds caching and just-in-time compilation functionality to the triton-mlir project, and paves the way for re-using tests from the master branch.
2022-09-23 16:09:43 -07:00
import torch
[PYTHON] Cleaned up legacy code; added simple standalone compilation API (#22)
2022-07-26 11:06:45 -07:00
import triton
import triton.language as tl
[CI] Added basic CI skeletons (#23) Includes minor fixes to make things compile and pass static checks properly
2022-07-26 14:16:30 -07:00
[PYTHON] Cleaned up legacy code; added simple standalone compilation API (#22)
2022-07-26 11:06:45 -07:00
@triton.jit
def kernel(X, stride_xm, stride_xn, BLOCK: tl.constexpr):
pass
[CI] Added basic CI skeletons (#23) Includes minor fixes to make things compile and pass static checks properly
2022-07-26 14:16:30 -07:00
[FRONTEND] Backport new runtime from `master` (#706) This PR merges the new runtime back into the `triton-mlir` branch. This adds caching and just-in-time compilation functionality to the triton-mlir project, and paves the way for re-using tests from the master branch.
2022-09-23 16:09:43 -07:00
X = torch.randn(1, device="cuda")
pgm = kernel[(1,)](X, 1, 1, BLOCK=1024)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.3 Page: 130ms Template: 8ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API