Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tile-ai/tilelang
/ functions
Functions
7,254 in github.com/tile-ai/tilelang
⨍
Functions
7,254
◇
Types & classes
525
↳
Endpoints
224
Function
test_buffer_store_negative_index_in_expression
Test negative index as part of a larger expression in buffer store.
testing/python/transform/test_tilelang_transform_legalize_negative_index.py:335
Function
test_buffer_store_nested_in_condition
Test negative index buffer store within conditional statements.
testing/python/transform/test_tilelang_transform_legalize_negative_index.py:416
Function
test_buffer_store_vector_index_mixed_sign_ramp
Test vectorized store ramp indices that mix Python-negative and non-negative lanes.
testing/python/transform/test_tilelang_transform_legalize_negative_index.py:395
Function
test_buffer_store_vector_index_negative_broadcast
Test negative indices in vectorized store operations (broadcast case).
testing/python/transform/test_tilelang_transform_legalize_negative_index.py:353
Function
test_buffer_store_vector_index_negative_ramp
Test negative indices in vectorized store operations (ramp case).
testing/python/transform/test_tilelang_transform_legalize_negative_index.py:374
Function
test_cache_isolation_between_tests
Verify cache isolation between tests. Ensures clean_cache_env fixture provides independent cache directory for each test.
testing/python/cache/test_tilelang_kernel_cache.py:265
Function
test_cache_miss_detection
Verify cache correctly misses when function changes. This ensures our testing method is valid - different functions should produce different
testing/python/cache/test_tilelang_kernel_cache.py:214
Function
test_call_extern_access_ptr_read_mask_oob
()
testing/python/transform/test_tilelang_transform_legalize_safe_memory_access.py:515
Function
test_call_extern_access_ptr_readwrite_mask_oob
()
testing/python/transform/test_tilelang_transform_legalize_safe_memory_access.py:523
Function
test_call_extern_access_ptr_write_mask_oob
()
testing/python/transform/test_tilelang_transform_legalize_safe_memory_access.py:519
Function
test_call_extern_multiple_access_ptrs_oob
()
testing/python/transform/test_tilelang_transform_legalize_safe_memory_access.py:527
Function
test_can_prove_self_equal_to_self
(dtype)
testing/python/arith/test_arith_simplify.py:61
Function
test_can_prove_self_identity
(dtype)
testing/python/arith/test_arith_simplify.py:54
Function
test_cast_default_unchanged
Test that T.cast without rounding params still uses __nv_cvt_float2_to_fp8x2.
testing/python/language/test_tilelang_cast_rounding.py:67
Function
test_cast_invalid_round
Test that invalid rounding modes raise ValueError.
testing/python/language/test_tilelang_cast_rounding.py:20
Function
test_cast_invalid_sat
Test that non-bool sat raises ValueError.
testing/python/language/test_tilelang_cast_rounding.py:26
Function
test_cast_rbits_only_with_rs
Test that rbits is only valid with round='rs'.
testing/python/language/test_tilelang_cast_rounding.py:38
Function
test_cast_rs_codegen
Test that round='rs' with rbits emits __tl_cvt_f32x4_to_e4m3x4_rs_sat.
testing/python/language/test_tilelang_cast_rounding.py:97
Function
test_cast_rs_fp4_lanes
Test FP4 rs codegen across lanes=1,2,4,8.
testing/python/language/test_tilelang_cast_rounding.py:182
Function
test_cast_rs_fp8_lanes
Test FP8 rs codegen across lanes=1,2,4,8.
testing/python/language/test_tilelang_cast_rounding.py:164
Function
test_cast_rs_rbits_invariance
rbits shape determines the chunk size of cvt.rs.x{N}.
testing/python/language/test_tilelang_cast_rounding.py:345
Function
test_cast_rs_requires_rbits
Test that round='rs' requires rbits.
testing/python/language/test_tilelang_cast_rounding.py:32
Function
test_cast_sat_bool
Test that sat accepts True and False.
testing/python/language/test_tilelang_cast_rounding.py:53
Function
test_cast_valid_rounding_modes
Test that all valid rounding modes are accepted (without rbits for non-rs).
testing/python/language/test_tilelang_cast_rounding.py:44
Function
test_ceil_log2_int
Simplify expressions resulting from topi.math.ceil_log2
testing/python/transform/test_tilelang_transform_simplify.py:389
Function
test_ceildiv
()
testing/python/language/test_tilelang_language_ceildiv.py:23
Function
test_ceildiv_dyn
()
testing/python/language/test_tilelang_language_ceildiv.py:49
Function
test_chain_equal
()
testing/python/language/test_tilelang_language_chain_equal.py:38
Function
test_clamp
()
testing/python/language/test_tilelang_language_clamp.py:108
Function
test_clc_query_codegen_includes_cluster_header
()
testing/python/language/test_tilelang_language_cluster.py:121
Function
test_cluster_barrier
()
testing/python/language/test_tilelang_language_cluster.py:115
Function
test_cluster_launch
()
testing/python/language/test_tilelang_language_cluster.py:99
Function
test_cluster_launch_intrinsics
(cluster_size=4)
testing/python/language/test_tilelang_language_cluster.py:106
Function
test_cluster_planning
()
testing/python/transform/test_tilelang_transform_cluster_planning.py:23
Function
test_codegen_abs2
abs2 emits tl::abs2 with correct native-type casts.
testing/python/cuda/test_cuda_f32x2_intrinsics.py:208
Function
test_codegen_auto_vec_f32
(op_key)
testing/python/cuda/test_cuda_f32x2_intrinsics.py:228
Function
test_codegen_auto_vec_f32_no_sm80
(op_key)
testing/python/cuda/test_cuda_f32x2_intrinsics.py:252
Function
test_codegen_auto_vec_f32_width8
(op_key)
testing/python/cuda/test_cuda_f32x2_intrinsics.py:238
Function
test_codegen_auto_vec_fma_f32
()
testing/python/cuda/test_cuda_f32x2_intrinsics.py:260
Function
test_codegen_auto_vec_fma_half_types
(dtype_name)
testing/python/cuda/test_cuda_f32x2_intrinsics.py:268
Function
test_codegen_auto_vec_half_types
(op_key, dtype_name)
testing/python/cuda/test_cuda_f32x2_intrinsics.py:281
Function
test_codegen_basic
()
testing/python/cpu/test_tilelang_cpu_tgemm.py:85
Function
test_codegen_binary
Binary ops emit tl::<op> with correct native-type casts.
testing/python/cuda/test_cuda_f32x2_intrinsics.py:182
Function
test_codegen_float32_accum
()
testing/python/metal/test_metal_simdgroup_store.py:94
Function
test_codegen_fma2
fma2 emits tl::fma2 with correct native-type casts.
testing/python/cuda/test_cuda_f32x2_intrinsics.py:196
Function
test_codegen_fp8_local_to_memory
Test CUDA codegen for fp8 local → memory.
testing/python/transform/test_tilelang_transform_decouple_type_cast.py:275
Function
test_codegen_local_to_memory
Test CUDA codegen for local → memory with vectorized copy.
testing/python/transform/test_tilelang_transform_decouple_type_cast.py:233
Function
test_codegen_memory_to_local
Test CUDA codegen for memory → local with vectorized copy.
testing/python/transform/test_tilelang_transform_decouple_type_cast.py:255
Function
test_codegen_no_cast_buffer_same_dtype
Test no cast buffer when dtypes are the same.
testing/python/transform/test_tilelang_transform_decouple_type_cast.py:297
Function
test_codegen_non_square
()
testing/python/metal/test_metal_simdgroup_store.py:90
Function
test_codegen_rectangular
()
testing/python/cpu/test_tilelang_cpu_tgemm.py:89
Function
test_codegen_square_large
()
testing/python/metal/test_metal_simdgroup_store.py:86
Function
test_codegen_square_small
()
testing/python/metal/test_metal_simdgroup_store.py:82
Function
test_codegen_trans_A
()
testing/python/cpu/test_tilelang_cpu_tgemm.py:93
Function
test_codegen_trans_B
()
testing/python/cpu/test_tilelang_cpu_tgemm.py:97
Function
test_complex
()
testing/python/arith/test_arith_iter_affine_map.py:709
Method
test_complex_expression_equal
Layouts with complex but equivalent expressions should be equal.
testing/python/layout/test_tilelang_layout_equal.py:56
Function
test_compound
()
testing/python/arith/test_arith_iter_affine_map.py:187
Function
test_compound_floormod_two_regression
()
testing/python/arith/test_arith_iter_affine_map.py:209
Function
test_compress
(dtype, meta_dtype)
testing/python/utils/test_compress_utils.py:138
Function
test_compress_dtype_combinations
(in_dtype, out_dtype, dtypeAccum, meta_dtype)
testing/python/tilelibrary/test_tilelang_tilelibrary_gemm_sp.py:756
Function
test_conditional_floor_mod
A regression test for negative floormod denominator.
testing/python/transform/test_tilelang_transform_simplify.py:443
Method
test_constant_layout_equal
Layouts mapping to constant should be equal.
testing/python/layout/test_tilelang_layout_equal.py:160
Method
test_constant_vs_variable_layout_not_equal
Layout mapping to constant vs variable should not be equal.
testing/python/layout/test_tilelang_layout_equal.py:168
Function
test_constexpr_if
()
testing/python/language/test_tilelang_language_frontend_v2.py:455
Function
test_context_singleton_floordiv_index
()
testing/python/transform/test_tilelang_transform_simplify.py:67
Function
test_copy_and_async_copy_gemm_codegen_equivalent_sm80
For SM80, T.copy(global->shared) may lower to cp.async. This test checks that the explicit form: T.async_copy(...) + T.ptx_wait_group(0)
testing/python/language/test_tilelang_language_async_copy_gemm_sm80.py:7
Function
test_copy_loop_layout_annotated_replicate_vec4
()
testing/python/layout/test_tilelang_annotate_loop_layout.py:60
Function
test_copy_prefer_tma_lowers_as_synchronous_tma_load
()
testing/python/language/test_tilelang_language_tma_copy.py:425
Function
test_correctness_16x16x16
()
testing/python/metal/test_metal_simdgroup_store.py:102
Function
test_correctness_32x32x32
()
testing/python/metal/test_metal_simdgroup_store.py:107
Function
test_correctness_64x64x32
()
testing/python/metal/test_metal_simdgroup_store.py:117
Function
test_correctness_abs2
abs2 produces correct results for all dtypes.
testing/python/cuda/test_cuda_f32x2_intrinsics.py:336
Function
test_correctness_binary
Binary ops produce correct results for all dtypes.
testing/python/cuda/test_cuda_f32x2_intrinsics.py:301
Function
test_correctness_fma2
fma2 produces correct results for all dtypes.
testing/python/cuda/test_cuda_f32x2_intrinsics.py:315
Function
test_correctness_large_matrix
()
testing/python/metal/test_metal_simdgroup_store.py:122
Function
test_correctness_non_square_block
()
testing/python/metal/test_metal_simdgroup_store.py:112
Function
test_correctness_non_square_matrix
()
testing/python/metal/test_metal_simdgroup_store.py:127
Function
test_cp_async_access_ptr_nonzero_safe_value_oob
()
testing/python/transform/test_tilelang_transform_legalize_safe_memory_access.py:499
Function
test_cp_async_access_ptr_oob
()
testing/python/transform/test_tilelang_transform_legalize_safe_memory_access.py:495
Function
test_cp_async_then_wgmma_injects_fence_proxy
cp.async is treated as generic proxy traffic for fence injection.
testing/python/transform/test_tilelang_transform_inject_fence_proxy.py:108
Function
test_cpu_kernel_source_generation_with_while
Regression test: CPU `T.While` kernels should compile without errors. See: https://github.com/tile-ai/tilelang/issues/2202 Historically, a C
testing/python/cpu/test_tilelang_cpu_while_repro.py:5
Function
test_cuda_postproc_callback
()
testing/python/jit/test_tilelang_jit_callback.py:108
Function
test_cuda_restrict_annotation_removes_restrict
()
testing/python/components/test_cuda_restrict_codegen.py:31
Function
test_cuda_restrict_default_has_restrict
()
testing/python/components/test_cuda_restrict_codegen.py:16
Function
test_cummax_fragment
()
testing/python/language/test_tilelang_language_scan.py:462
Function
test_cummax_fragment_1d
()
testing/python/language/test_tilelang_language_scan.py:477
Function
test_cummax_out_of_place
()
testing/python/language/test_tilelang_language_scan.py:468
Function
test_cummax_smem
()
testing/python/language/test_tilelang_language_scan.py:454
Function
test_cummax_smem_1d
()
testing/python/language/test_tilelang_language_scan.py:472
Function
test_cumsum_fragment
()
testing/python/language/test_tilelang_language_scan.py:163
Function
test_cumsum_fragment_1d
()
testing/python/language/test_tilelang_language_scan.py:177
Function
test_cumsum_region_1d
Test cumsum with 1D region input.
testing/python/language/test_tilelang_language_scan.py:291
Function
test_cumsum_region_2d
Test cumsum with 2D region input.
testing/python/language/test_tilelang_language_scan.py:303
Function
test_cumsum_smem
()
testing/python/language/test_tilelang_language_scan.py:151
Function
test_cumsum_smem_1d
()
testing/python/language/test_tilelang_language_scan.py:172
Function
test_cumsum_view_infer_layout
()
testing/python/issue/test_tilelang_issue_1001.py:24
Function
test_cupti_counts_torch_zeros_kernel_time
()
testing/python/profiler/test_bench_cupti.py:7
Function
test_cupti_empty_function_excludes_cache_flush_time
()
testing/python/profiler/test_bench_cupti.py:26
Function
test_cutedsl_adapter_exposes_device_and_host_sources
Verify CuTeDSL adapter exposes device, host, and combined sources.
testing/python/jit/test_tilelang_jit_cutedsl_host_codegen.py:190
← previous
next →
6,001–6,100 of 7,254, ranked by callers