tilelang package#
Subpackages#
- tilelang.autotuner package
- tilelang.cache package
- tilelang.carver package
- Subpackages
- Submodules
- tilelang.carver.analysis module
BlockInfo
IterInfo
check_func_with_dynamic()
collect_block_iter_vars_used_in_access_region()
collect_vars_used_in_prim_expr()
detect_dominant_read()
find_var_from_func()
get_coalesced_veclen()
get_max_shared_memory_per_block()
get_max_threads_per_block()
get_reduction_blocks()
get_root_block()
is_broadcast_epilogue()
normalize_prim_func()
- tilelang.carver.common_schedules module
- tilelang.carver.matmul_analysis module
IterKind
IterTrait
auto_inline_consumer_chain()
auto_inline_consumers()
auto_inline_producers()
collect_vars_from_expr()
detect_iter_traits()
find_arg_idx_from_buffer_chain()
find_first_similar_buffer()
find_first_similar_region()
find_last_producer_from_buffer()
get_dequantize_block()
get_in_out_dtypes()
get_index_map()
get_ladder_stage3_map()
get_propagate_map()
get_tensorized_func_and_tags()
inline_transpose_block()
is_identity_block()
is_identity_or_transpose_block()
is_transpose_block()
layout_propagate_chain()
make_iter_fusion_index_map()
normalize_to_matmul()
- tilelang.carver.utils module
- tilelang.carver.analysis module
- Module contents
- tilelang.common package
- tilelang.contrib package
- tilelang.engine package
- tilelang.intrinsics package
- Submodules
- tilelang.intrinsics.mfma_layout module
make_mfma_swizzle_layout()
shared_16x16_to_ldmatrix_64x4_layout()
shared_16x16_to_local_64x4_layout_A()
shared_16x16_to_local_64x4_layout_B()
shared_16x16_to_local_64x4_layout_C()
shared_16x16_to_local_64x4_layout_k_n()
shared_16x16_to_local_64x4_layout_m_n()
shared_16x16_to_local_64x4_layout_n_k()
shared_16x16_to_local_64x4_layout_n_m()
shared_16x32_to_local_64x8_layout_A()
shared_16x32_to_local_64x8_layout_B()
shared_16x4_to_local_64x1_layout_A()
shared_16x64_to_local_64x16_layout_A()
shared_16x64_to_local_64x16_layout_B()
shared_4x16_to_local_64x1_layout_B()
thread_id_shared_access_64x16_to_16x64_layout_A()
thread_id_shared_access_64x16_to_16x64_layout_B()
thread_id_shared_access_64x1_to_16x4_layout_A()
thread_id_shared_access_64x1_to_4x16_layout_B()
thread_id_shared_access_64x4_to_16x16_layout_A()
thread_id_shared_access_64x4_to_16x16_layout_B()
thread_id_shared_access_64x4_to_16x16_layout_C_m_n()
thread_id_shared_access_64x4_to_16x16_layout_C_n_m()
thread_id_shared_access_64x8_to_16x32_layout_A()
thread_id_shared_access_64x8_to_16x32_layout_B()
- tilelang.intrinsics.mfma_macro_generator module
- tilelang.intrinsics.mma_layout module
get_swizzle_layout()
ldmatrix_16x32_to_shared_16x32_layout_a()
ldmatrix_16x32_to_shared_16x32_layout_b()
ldmatrix_32x16_to_shared_16x32_layout_a()
ldmatrix_32x16_to_shared_16x32_layout_b()
ldmatrix_32x8_to_shared_16x16_layout()
ldmatrix_trans_32x8_to_shared_16x16_layout()
make_mma_swizzle_layout()
mma_32x8_to_shared_16x16_layout()
mma_store_32x8_to_shared_16x16_layout()
shared_16x16_to_mma_32x8_layout()
shared_16x16_to_mma_32x8_layout_rs()
shared_16x16_to_mma_32x8_layout_sr()
shared_16x16_to_mma_32x8_layout_trans()
shared_16x16_to_mma_32x8_smoothlayout()
shared_16x32_to_mma_32x16_layout()
shared_16x32_to_mma_32x16_smoothlayout()
shared_32x16_to_mma_32x16_layout()
shared_32x16_to_mma_32x16_smoothlayout()
- tilelang.intrinsics.mma_macro_generator module
- tilelang.intrinsics.utils module
- tilelang.intrinsics.mfma_layout module
- Module contents
- Submodules
- tilelang.jit package
- tilelang.language package
- Subpackages
- Submodules
- tilelang.language.allocate module
- tilelang.language.builtin module
barrier_arrive()
barrier_wait()
create_list_of_mbarrier()
create_tma_descriptor()
dec_max_nreg()
fence_proxy_async()
get_mbarrier()
inc_max_nreg()
mbarrier_arrive()
mbarrier_expect_tx()
mbarrier_wait_parity()
no_set_max_nreg()
set_max_nreg()
shfl_down()
shfl_up()
shfl_xor()
sync_global()
sync_thread_partial()
sync_threads()
tma_load()
tma_store_arrive()
tma_store_wait()
wait_wgmma()
- tilelang.language.copy module
- tilelang.language.customize module
- tilelang.language.fill module
- tilelang.language.frame module
- tilelang.language.gemm module
- tilelang.language.kernel module
- tilelang.language.logical module
- tilelang.language.memscope module
- tilelang.language.parallel module
- tilelang.language.pipeline module
- tilelang.language.print module
- tilelang.language.proxy module
- tilelang.language.reduce module
- tilelang.language.warpgroup module
- Module contents
- tilelang.layout package
- tilelang.math package
- tilelang.primitives package
- tilelang.profiler package
- Submodules
- Module contents
Profiler
Profiler.params
Profiler.result_idx
Profiler.supply_type
Profiler.adapter
Profiler.adapter
Profiler.assert_allclose()
Profiler.assert_consistent()
Profiler.determine_profiler()
Profiler.do_bench()
Profiler.func
Profiler.manual_assert_close()
Profiler.params
Profiler.result_idx
Profiler.run_once()
Profiler.supply_type
Profiler.with_default_adapter()
- tilelang.quantize package
- tilelang.testing package
- tilelang.tools package
- tilelang.transform package
- Submodules
- Module contents
AnnotateDeviceRegions()
ClusterPlanning()
ConfigIndexBitwidth()
EliminateStorageSyncForMBarrier()
FlattenBuffer()
FrontendLegalize()
IfStmtBinding()
InjectFenceProxy()
InjectPTXAsyncCopy()
InjectSoftwarePipeline()
InjectTmaBarrier()
LayoutInference()
LegalizeSafeMemoryAccess()
LegalizeVectorizedLoop()
LoopVectorizeDynamic()
LowerDeviceStorageAccessInfo()
LowerHopperIntrin()
LowerL2Persistent()
LowerTileOp()
MakePackedAPI()
MergeIfStmt()
MergeSharedMemoryAllocations()
MultiVersionBuffer()
PipelinePlanning()
RewriteWgmmaSync()
ThreadPartialSync()
ThreadSync()
VectorizeLoop()
WarpSpecialized()
WarpSpecializedPipeline()
get_pass_context()
- tilelang.utils package
Submodules#
Module contents#
- class tilelang.TqdmLoggingHandler(level=0)#
Bases:
Handler
Custom logging handler that directs log output to tqdm progress bar to avoid interference.
- emit(record)#
Emit a log record. Messages are written to tqdm to ensure output in progress bars isn’t corrupted.
- tilelang.set_log_level(level)#
Set the logging level for the module’s logger.
- Parameters:
level (str or int) – Can be the string name of the level (e.g., ‘INFO’) or the actual level (e.g., logging.INFO).
OPTIONS – ‘DEBUG’, ‘INFO’, ‘WARNING’, ‘ERROR’, ‘CRITICAL’