Skip to content
Prev Previous commit
Next Next commit
lint
  • Loading branch information
Rachmanino committed Feb 26, 2026
commit 7c3a4258b0feb302d642a90a085b3b3d4926f242
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import tilelang
import tilelang.language as T
import torch
import tilelang.testing


Expand Down Expand Up @@ -30,7 +29,7 @@ def gemm(
def run_cython_cluster_launch():
kernel = matmul(1024, 1024, 1024, 128, 128, 32)
mod = tilelang.compile(kernel, execution_backend="cython")
assert 'clusterDim = {2, 1, 1}' in mod.get_host_source()
assert "clusterDim = {2, 1, 1}" in mod.get_host_source()


def run_tvm_ffi_cluster_launch():
Expand All @@ -48,7 +47,7 @@ def run_tvm_ffi_cluster_launch():
(((TVMFFIAny*)stack_ffi_any)[5].v_int64) = ((int64_t)1);
"""
assert check_str in mod.get_host_source()


@tilelang.testing.requires_cuda
@tilelang.testing.requires_cuda_compute_version_ge(9, 0)
Expand Down