Skip to content

Commit 0600f3e

Browse files
committed
Reuse mm.tensors in mm_2.py
1 parent 7dc99db commit 0600f3e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

ops/ninetoothed/kernels/mm_2.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import ninetoothed
22
import ninetoothed.language as ntl
3-
from ninetoothed import Tensor
43

54
import ops.ninetoothed.kernels.mm as mm
65
from ops.ninetoothed.kernels.utils import MAX_NUM_CONFIGS, NUM_STAGES, NUM_WARPS
@@ -49,7 +48,7 @@ def application(input, other, output):
4948
output[i] = accumulator
5049

5150

52-
tensors = (Tensor(2), Tensor(2), Tensor(2))
51+
tensors = mm.tensors
5352

5453
kernel = ninetoothed.make(
5554
arrangement,

0 commit comments

Comments
 (0)