Skip to content

Commit b45bb37

Browse files
committed
lint fix
1 parent 9899be1 commit b45bb37

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

testing/python/jit/test_tilelang_jit_nullptr.py

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,15 @@
77

88

99
@tl.jit
10-
def tensor_null_test(M, N, K, block_M, block_N, block_K, dtype="float16", accum_dtype="float", with_bias=False):
10+
def tensor_null_test(M,
11+
N,
12+
K,
13+
block_M,
14+
block_N,
15+
block_K,
16+
dtype="float16",
17+
accum_dtype="float",
18+
with_bias=False):
1119

1220
@T.prim_func
1321
def main(
@@ -44,9 +52,11 @@ def run_test(M, N, K, block_M, block_N, block_K, dtype="float16", accum_dtype="f
4452
a = torch.randn(M, K, device="cuda", dtype=map_torch_type(dtype))
4553
b = torch.randn(N, K, device="cuda", dtype=map_torch_type(dtype))
4654
c = torch.zeros(M, N, device="cuda", dtype=map_torch_type(accum_dtype))
47-
kernel = tensor_null_test(M, N, K, block_M, block_N, block_K, dtype, accum_dtype, with_bias=False)
55+
kernel = tensor_null_test(
56+
M, N, K, block_M, block_N, block_K, dtype, accum_dtype, with_bias=False)
4857
kernel(a, b, c, None)
4958

59+
5060
def test_nullptr():
5161
run_test(1024, 1024, 1024, 128, 128, 32)
5262

0 commit comments

Comments
 (0)