MCPcopy Create free account

hub / github.com/tile-ai/tilelang / functions

Functions7,254 in github.com/tile-ai/tilelang

Functionregression_example_gqa_bwd
()
examples/flash_attention/regression_example_flash_attention.py:16
Functionregression_example_gqa_bwd_tma_reduce_varlen
()
examples/flash_attention/regression_example_flash_attention.py:12
Functionregression_example_gqa_decode
()
examples/flash_decoding/regression_example_flash_decoding.py:6
Functionregression_example_gqa_fwd_bshd
()
examples/flash_attention/regression_example_flash_attention.py:28
Functionregression_example_gqa_sink_bwd_bhsd
()
examples/attention_sink/regression_attention_sink.py:27
Functionregression_example_gqa_sink_bwd_bhsd_sliding_window
()
examples/attention_sink/regression_attention_sink.py:31
Functionregression_example_group_per_split_token_cast_to_fp8
()
examples/cast/regression_example_cast.py:6
Functionregression_example_linear_attn_bwd
()
examples/linear_attention/regression_linear_attn.py:10
Functionregression_example_linear_attn_fwd
()
examples/linear_attention/regression_linear_attn.py:6
Functionregression_example_mha_bwd_bhsd
()
examples/flash_attention/regression_example_flash_attention.py:24
Functionregression_example_mha_bwd_bshd
()
examples/flash_attention/regression_example_flash_attention.py:20
Functionregression_example_mha_fwd_bhsd
()
examples/flash_attention/regression_example_flash_attention.py:34
Functionregression_example_mha_fwd_bshd
()
examples/flash_attention/regression_example_flash_attention.py:38
Functionregression_example_mha_fwd_varlen
()
examples/flash_attention/regression_example_flash_attention.py:42
Functionregression_example_mha_inference
()
examples/flash_decoding/regression_example_flash_decoding.py:10
Functionregression_example_mha_sink_bwd_bhsd
()
examples/attention_sink/regression_attention_sink.py:17
Functionregression_example_mha_sink_bwd_bhsd_sliding_window
()
examples/attention_sink/regression_attention_sink.py:21
Functionregression_example_mha_sink_fwd_bhsd
()
examples/attention_sink/regression_attention_sink.py:7
Functionregression_example_mha_sink_fwd_bhsd_sliding_window
()
examples/attention_sink/regression_attention_sink.py:11
Functionregression_example_mhc_post
()
examples/deepseek_mhc/regression_example_mhc.py:6
Functionregression_example_mhc_pre
()
examples/deepseek_mhc/regression_example_mhc.py:10
Functionregression_example_mla_decode
()
examples/deepseek_mla/regression_example_mla_decode.py:5
Functionregression_example_per_token_cast_to_fp8
()
examples/cast/regression_example_cast.py:12
Functionregression_example_tilelang_block_sparse_attn
()
examples/blocksparse_attention/regression_example_blocksparse_attention.py:7
Functionregression_example_tilelang_gemm_fp8
()
examples/gemm_fp8/regression_example_gemm_fp8.py:10
Functionregression_example_tilelang_gemm_fp8_2xAcc
()
examples/gemm_fp8/regression_example_gemm_fp8.py:6
Functionregression_example_tilelang_gemm_splitk
()
examples/gemm_splitk/regression_example_gemm_splitk.py:6
Functionregression_example_tilelang_gemm_splitk_vectorize_atomicadd
()
examples/gemm_splitk/regression_example_gemm_splitk.py:10
Functionregression_example_tilelang_nsa_fwd
()
examples/deepseek_nsa/regression_example_tilelang_nsa.py:6
Functionregression_example_tilelang_nsa_fwd_decode
()
examples/deepseek_nsa/regression_example_tilelang_nsa.py:10
Functionregression_example_tilelang_sparse_gqa_decode_varlen_indice
()
examples/blocksparse_attention/regression_example_blocksparse_attention.py:11
Functionregression_example_tilelang_sparse_gqa_decode_varlen_mask
()
examples/blocksparse_attention/regression_example_blocksparse_attention.py:15
Functionregression_example_topk
()
examples/topk/regression_topk_tilelang.py:5
Functionregression_example_vertical_slash_sparse_attn
()
examples/minference/regression_vs_sparse_attn.py:5
Functionregression_example_warp_specialize_gemm_barrierpipe_stage2
()
examples/warp_specialize/regression_example_warp_specialize.py:8
Functionregression_example_warp_specialize_gemm_copy_0_gemm_1
()
examples/warp_specialize/regression_example_warp_specialize.py:12
Functionregression_example_warp_specialize_gemm_copy_1_gemm_0
()
examples/warp_specialize/regression_example_warp_specialize.py:16
Functionregression_example_warp_specialize_gemm_softpipe_stage2
()
examples/warp_specialize/regression_example_warp_specialize.py:20
Functionregression_fp8_lighting_indexer
()
examples/deepseek_v32/regression_tilelang_example_deepseek_v32.py:13
Functionregression_sparse_mla_bwd
()
examples/deepseek_v32/regression_tilelang_example_deepseek_v32.py:25
Functionregression_sparse_mla_fwd
()
examples/deepseek_v32/regression_tilelang_example_deepseek_v32.py:17
Functionregression_sparse_mla_fwd_pipelined
()
examples/deepseek_v32/regression_tilelang_example_deepseek_v32.py:21
Functionregression_topk_selector
()
examples/deepseek_v32/regression_tilelang_example_deepseek_v32.py:9
Functionreinterpret
Reinterpret cast a value to dtype. Parameters ---------- value : PrimExpr The input value. dtype : str The data type
tilelang/language/tir/op.py:2198
Methodremap
The block axis remapping function. Parameters ---------- kinds : str The types of the iteration variables.
tilelang/language/ast/ir.py:648
Methodremove_lib
(self)
tilelang/jit/adapter/libgen.py:202
Functionreplicate_loop_layout_kernel
(A, B, loop_layout)
testing/python/layout/test_tilelang_annotate_loop_layout.py:79
Functionrequires_cdna
Skip the test unless the ROCm device is a CDNA GPU.
tilelang/testing/__init__.py:54
Functionrequires_cuda_compute_version_eq
(major_version, minor_version=0)
tilelang/testing/__init__.py:181
Functionrequires_cuda_compute_version_ge
(major_version, minor_version=0)
tilelang/testing/__init__.py:173
Functionrequires_cuda_compute_version_gt
(major_version, minor_version=0)
tilelang/testing/__init__.py:177
Functionrequires_cuda_compute_version_le
(major_version, minor_version=0)
tilelang/testing/__init__.py:189
Functionrequires_cuda_compute_version_lt
(major_version, minor_version=0)
tilelang/testing/__init__.py:185
Functionrequires_cuda_or_cdna
Skip the test unless the device is CUDA or CDNA ROCm.
tilelang/testing/__init__.py:67
Functionrequires_gfx950
Skip the test unless the ROCm device is gfx950 (CDNA4 / MI350).
tilelang/testing/__init__.py:79
Functionreshape
Reshapes the input buffer to the specified shape. Args: src (Buffer): Input buffer to be reshaped shape (ShapeType): New shape fo
tilelang/language/customize.py:47
Methodresource_usage
HIP only now
tilelang/jit/kernel.py:644
Functionret
Create a tir return expression Parameters ---------- val : Expr The returned tir expression, whose data type is int, float or voi
tilelang/language/tir/op.py:2056
Methodret
(self, value=None)
tilelang/language/eager/builder.py:641
Functionretrieve_dtype
Retrieve the dtype of a buffer-like object. - Buffer -> buffer.dtype - BufferRegion -> convert to BufferLoad with Ramp indices, then use
tilelang/utils/language.py:421
Methodrewrite
(self, node: ast.AST, parent: ast.AST, field: str, inside_list: bool)
tilelang/autodd.py:116
Methodrewrite
(self, node: ast.AST, parent: ast.AST, field: str, inside_list: bool)
tilelang/autodd.py:138
Methodrewrite
(self, node: ast.AST, parent: ast.AST, field: str, inside_list: bool)
tilelang/autodd.py:153
Methodrewrite
(self, node: ast.AST, parent: ast.AST, field: str, inside_list: bool)
tilelang/autodd.py:179
Methodrewrite
(self, node: ast.AST, parent: ast.AST, field: str, inside_list: bool)
tilelang/autodd.py:197
Methodrewrite
(self, node: ast.AST, parent: ast.AST, field: str, inside_list: bool)
tilelang/autodd.py:380
Functionrms_norm
(A, blk_m)
examples/norm/rms_norm.py:40
Functionrms_norm_splitk
(A, blk_m, blk_k)
examples/norm/rms_norm.py:7
Functionrng_init
Initialize CUDA curand random number generator state Parameters ---------- seed : PrimExpr Random seed value. seq : PrimExpr
tilelang/language/random.py:6
Functionrng_rand
Generate a 32-bit unsigned random integer Returns ------- random_value : PrimExpr A 32-bit unsigned random integer.
tilelang/language/random.py:40
Functionrng_rand_float
Generate a random float Parameters ---------- bit : int = [32, 64] Bitwidth of random float. dist : StringImm = ["uniform", "
tilelang/language/random.py:51
Functionrsqrt
(x: Union[TensorSSA, Numeric], fastmath: bool = False, **kwargs)
tilelang/contrib/cutedsl/math.py:118
Functionrsqrt
Take reciprocal of square root of input x. Parameters ---------- x : PrimExpr Input argument. Returns ------- y : Pr
tilelang/language/tir/op.py:2596
Functionrun
(is_triton: bool = True)
examples/minference/example_vertical_slash_sparse_attn.py:530
Functionrun
()
examples/flash_attention/example_mha_bwd_bhsd.py:335
Functionrun
()
examples/flash_attention/example_gqa_bwd_tma_reduce.py:478
Functionrun
()
examples/flash_attention/example_gqa_bwd.py:471
Functionrun
()
examples/flash_attention/example_mha_bwd_bshd.py:330
Functionrun
()
examples/flash_attention/example_gqa_bwd_tma_reduce_varlen.py:663
Methodrun
(self, code: str, timeout: float = 5.0)
tilelang/autodd.py:806
Methodrun
Perform 2D cumulative sum. Args: src: Source pointer dst: Destination pointer H: Number of rows
tilelang/contrib/cutedsl/reduce.py:343
Methodrun
(self, src: cute.Pointer, dst: cute.Pointer, N)
tilelang/contrib/cutedsl/reduce.py:424
Methodrun
(self, src: cute.Pointer, dst: cute.Pointer, H, W)
tilelang/contrib/cutedsl/reduce.py:458
Methodrun
Perform all-reduce across threads. Based on tl::AllReduce<...>::run from reduce.h When NamedBarrier is used, dele
tilelang/contrib/cutedsl/reduce.py:561
Functionrun1
()
examples/flash_attention/example_mha_bwd_bhsd.py:338
Functionrun1
()
examples/flash_attention/example_gqa_bwd_tma_reduce.py:481
Functionrun1
()
examples/flash_attention/example_gqa_bwd.py:474
Functionrun1
()
examples/flash_attention/example_mha_bwd_bshd.py:333
Functionrun1
()
examples/flash_attention/example_gqa_bwd_tma_reduce_varlen.py:666
Functionrun_complete_fwd_bwd
()
examples/amd/example_amd_flash_attn_bwd.py:606
Functionrun_flash_mla
(q, block_table, blocked_k, max_seqlen_pad, block_size, b, s_q, cache_seqlens, h_q, h_kv, d, dv, causal, dtype
examples/deepseek_mla/benchmark_mla.py:63
Functionrun_flash_mla_tilelang
(q, block_table, blocked_k, max_seqlen_pad, block_size, b, s_q, cache_seqlens, h_q, h_kv, d, dv, causal, dtype
examples/deepseek_mla/benchmark_mla.py:416
Functionrun_flash_mla_triton
(q, block_table, blocked_k, max_seqlen_pad, block_size, b, s_q, cache_seqlens, h_q, h_kv, d, dv, causal, dtype
examples/deepseek_mla/benchmark_mla.py:384
Functionrun_flash_mla_triton
(q, block_table, blocked_k, max_seqlen_pad, block_size, b, s_q, cache_seqlens, h_q, h_kv, d, dv, causal, dtype
examples/deepseek_mla/amd/benchmark_mla_decode_amd_triton.py:305
Functionrun_flashinfer
(q, block_table, blocked_k, max_seqlen_pad, block_size, b, s_q, cache_seqlens, h_q, h_kv, d, dv, causal, dtype
examples/deepseek_mla/benchmark_mla.py:88
Functionrun_gemm_rs
( M, N, K, trans_A, trans_B, in_dtype, out_dtype, dtypeAccum, block_M,
testing/python/amd/test_tilelang_test_amd.py:198
Functionrun_kernel_only
()
examples/deepseek_nsa/example_tilelang_nsa_fwd.py:206
Functionrun_kernel_only
()
examples/deepseek_nsa/example_tilelang_nsa_decode.py:192
Functionrun_kernel_only
()
examples/blocksparse_gemm/example_blocksparse_gemm.py:167
Functionrun_kernel_only
()
examples/deepseek_v32/sparse_mla_fwd.py:296
← previousnext →5,501–5,600 of 7,254, ranked by callers