From 2193bee94e51b19ffedfbcc0b4f7e3909085596e Mon Sep 17 00:00:00 2001 From: Gregory Axler Date: Thu, 5 Jan 2023 10:37:41 -0800 Subject: [PATCH] [Example] Fix the compile function in copy_strided.py (#1029) --- python/examples/copy_strided.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/examples/copy_strided.py b/python/examples/copy_strided.py index 922c5ba5c..85b5e82b4 100644 --- a/python/examples/copy_strided.py +++ b/python/examples/copy_strided.py @@ -15,5 +15,5 @@ def kernel(X, stride_xm, tl.store(Zs, tl.load(Xs)) -ret = triton.compile(kernel, "*fp32,i32,*fp32,i32", constants={"BLOCK_M": 64, "BLOCK_N": 64}, output="ttgir") +ret = triton.compile(kernel, signature="*fp32,i32,*fp32,i32", constants={"BLOCK_M": 64, "BLOCK_N": 64}, output="ttgir") print(ret)