MCPcopy Create free account
hub / github.com/apache/tvm / at_kernel_entry

Method at_kernel_entry

python/tvm/tirx/exec_context.py:387–390  ·  view source on GitHub ↗
(*, lane_ext: int = 32, warp_ext: int, cta_ext: int = 1)

Source from the content-addressed store, hash-verified

385
386 @staticmethod
387 def at_kernel_entry(*, lane_ext: int = 32, warp_ext: int, cta_ext: int = 1) -> ExecContext:
388 A = initial_A(lane_ext=lane_ext, warp_ext=warp_ext, cta_ext=cta_ext)
389 split = scope_switch(A, KERNEL)
390 return ExecContext(A=A, scope_kind=KERNEL, inter=split.inter, intra=split.intra)
391
392 def with_filter(self, binding: LaneBinding, lo: int, hi: int) -> ExecContext:
393 new_A = filter_narrow(self.A, binding, lo, hi)

Callers 10

test_ex_8_1_cta_wg_warpFunction · 0.80
test_ex_8_5_partial_wgFunction · 0.80
test_ex_8_6_factor_failFunction · 0.80
test_ex_8_7_deep_nestedFunction · 0.80
test_ex_8_8_fa4_patternFunction · 0.80
test_filter_is_pureFunction · 0.80

Calls 3

initial_AFunction · 0.85
scope_switchFunction · 0.85
ExecContextClass · 0.85

Tested by 10

test_ex_8_1_cta_wg_warpFunction · 0.64
test_ex_8_5_partial_wgFunction · 0.64
test_ex_8_6_factor_failFunction · 0.64
test_ex_8_7_deep_nestedFunction · 0.64
test_ex_8_8_fa4_patternFunction · 0.64
test_filter_is_pureFunction · 0.64