MCPcopy Create free account

hub / github.com/KnowingNothing/MatmulTutorial / functions

Functions541 in github.com/KnowingNothing/MatmulTutorial

↓ 37 callersMethodadvance
include/barrier.h:203
↓ 31 callersFunctionis_py_value
(x: Any)
util/simulator/data_math.py:5
↓ 19 callersFunctioncast_smem_ptr_to_uint
include/common.h:399
↓ 10 callersMethod_is
(self, unsigned: bool, bits: int)
cutlass.py/dtype.py:14
↓ 10 callersMethodindex
include/barrier.h:179
↓ 8 callersMethodphase
include/barrier.h:181
↓ 7 callersFunctionfloat_t
()
cutlass.py/dtype.py:211
↓ 7 callersFunctionget_kernel
Get the best compiled kernel for given dimensions. When jit=True, compiles a shape-specialized variant (like DeepGEMM). When jit=False,
examples/matmul/this-sm100/fp8_level6/test.py:225
↓ 7 callersFunctionhalf_t
()
cutlass.py/dtype.py:207
↓ 7 callersMethodis_same
(self, another_type: "DType")
cutlass.py/dtype.py:5
↓ 6 callersFunctionalign
(s, b)
examples/matmul/this-sm90/test_v6.py:56
↓ 6 callersFunctionalign
(s, b)
examples/matmul/this-sm90/test_v9.py:44
↓ 6 callersFunctionalign
(s, b)
examples/matmul/this-sm90/test_v8.py:46
↓ 6 callersFunctionalign
(s, b)
examples/matmul/this-sm90/test_v7.py:58
↓ 6 callersFunctionbench_kineto
( fn, kernel_names, num_tests: int = 30, suppress_kineto_output: bool = False, trace_path:
examples/matmul/this-sm100/test_this_perf.py:72
↓ 6 callersFunctionceil_div
include/common.h:69
↓ 6 callersFunctioncreate_desc
Create TMA descriptor with explicit swizzle parameter
examples/matmul/this-sm90/test_v9.py:33
↓ 6 callersFunctioncreate_desc
Create TMA descriptor with explicit swizzle parameter
examples/matmul/this-sm90/test_v8.py:33
↓ 6 callersMethodget
include/pipeline.h:19
↓ 5 callersMethod__handle_binary__
(self, func, other)
util/simulator/kernel.py:47
↓ 5 callersMethod__handle_rbinary__
(self, func, other)
util/simulator/kernel.py:66
↓ 5 callersMethod_is
(self, sign: int, exp: int, mantissa: int)
cutlass.py/dtype.py:105
↓ 5 callersFunctiongenerate_normal
( m: int, n: int, k: int, accumulate: bool = False, out_dtype: torch.dtype = torch.bfloat1
examples/matmul/this-sm100/test_this_perf.py:9
↓ 4 callersFunctionbenchmark
Benchmark a kernel variant, returns time in ms. Launches all iterations without per-iteration sync to allow the CUDA runtime to pipeline kern
examples/matmul/this-sm100/fp8_level6/test.py:303
↓ 4 callersFunctioncompile_kernel
Compile a kernel variant with specific compile-time parameters. Parameters: block_n: BLOCK_N tile size (required) shape_m:
examples/matmul/this-sm100/fp8_level6/test.py:176
↓ 4 callersFunctioncreate_desc
(t, inner, outer, stride)
examples/matmul/this-sm90/test_v5.py:20
↓ 4 callersFunctioncreate_desc
Create TMA descriptor with oobFill=1 (zero fill for out-of-bounds)
examples/matmul/this-sm90/test_v10.py:37
↓ 4 callersMethodcreate_k_major_desc
Create TMA descriptor for K-major matrix with 128B swizzle. For K-major layout (K contiguous): - gmem_inner = K (con
examples/matmul/this-sm90/test_v2.py:58
↓ 4 callersMethodcreate_k_major_desc
(self, tensor, shape_k, shape_mn, outer_stride)
examples/matmul/this-sm90/test_v3.py:52
↓ 4 callersMethodmake
(cls, idx, dim_map, dim_order)
util/simulator/kernel.py:36
↓ 4 callersFunctionprint_matrix
(mtx, rows, cols, func=lambda x: x, prompt="")
cutlass.py/swizzle.py:47
↓ 4 callersFunctionround_up
(a, b)
cutlass.py/fast_math.py:1
↓ 4 callersFunctiontest_correctness
(lib, M=1024, N=1024, K=1024, use_cooperative=False)
examples/matmul/this-sm90/test_v3.py:121
↓ 4 callersMethodwait
include/barrier.h:48
↓ 3 callersFunction_abs
include/common.h:72
↓ 3 callersMethodbackward
(ctx, grad_o_r, grad_o_i)
examples/attention/triton/model.py:73
↓ 3 callersFunctionbench
(lib, size, iters=20)
examples/matmul/this-sm90/test_v7.py:83
↓ 3 callersMethoddim_is_dynamic
(self, key: int)
cutlass.py/tiling.py:45
↓ 3 callersMethodget_tiled_cta_shape_mnl
(problem_shape, cta_shape, cluster_shape)
cutlass.py/tile_scheduler.py:208
↓ 3 callersMethodinit
include/barrier.h:36
↓ 3 callersFunctionperf
(func, args, iters=1)
examples/attention/triton/fused_linear_attention_complex_bwd_bind_bhm.py:416
↓ 3 callersFunctionperf
(func, args, iters=1)
examples/attention/triton/fused_linear_attention_complex_bwd_bind_bhm_v2.py:478
↓ 3 callersFunctionrun_gemm
(lib, A, B, SFA, SFB, M, N, K)
examples/matmul/this-sm100/fp8_level1/debug_layout.py:23
↓ 3 callersFunctionrun_kernel
(lib, A, B, SFA, SFB, D, M, N, K)
examples/matmul/this-sm100/fp8_level3/test.py:58
↓ 3 callersFunctionrun_kernel
(lib, A, B, SFA, SFB, D, M, N, K)
examples/matmul/this-sm100/fp8_level2/test.py:58
↓ 3 callersFunctionrun_kernel
(lib, A, B, SFA, SFB, D, M, N, K)
examples/matmul/this-sm100/fp8_level1/test.py:98
↓ 3 callersFunctionselect_best_config
Select the best BLOCK_N for given problem dimensions. Algorithm (matching DeepGEMM): 1. For each legal BLOCK_N candidate: - C
examples/matmul/this-sm100/fp8_level6/test.py:102
↓ 3 callersFunctiontest_correctness
(lib, M=1024, N=1024, K=1024)
examples/matmul/this-sm90/test_v2.py:131
↓ 3 callersFunctiontest_correctness
(lib, M=1024, N=1024, K=1024)
examples/matmul/this-sm90/test_v4.py:125
↓ 2 callersFunctionalign_k
K must be aligned to BK for TMA swizzle
examples/matmul/this-sm90/test_v10.py:60
↓ 2 callersFunctionalign_n
N stride must be aligned to 64 for TMA 128B swizzle on output
examples/matmul/this-sm90/test_v10.py:64
↓ 2 callersMethodappend_and_get
(self, v: Union[int, IntegerType])
cutlass.py/tiling.py:40
↓ 2 callersFunctionapply_rotary_pos_emb
(x, cos, sin, position_ids, dagger=False)
examples/attention/triton/model.py:37
↓ 2 callersMethodarrive
Barrier arrive on local smem
include/barrier.h:53
↓ 2 callersFunctionbench
(lib, size, iters=20)
examples/matmul/this-sm90/test_v6.py:81
↓ 2 callersFunctionbench
(lib, size, iters=20)
examples/matmul/this-sm90/test_v5.py:46
↓ 2 callersFunctionbench
Benchmark with arbitrary M, N dimensions (K aligned to BK, C stride aligned to 64)
examples/matmul/this-sm90/test_v10.py:120
↓ 2 callersFunctionbench_our_kernel
Benchmark our kernel with wall-clock timing (100 iterations to amortize host overhead).
examples/matmul/this-sm100/fp8_level6/bench_compare.py:81
↓ 2 callersFunctionbenchmark
(M, N, K, warmup=10, iters=100)
examples/matmul/this-sm100/level9/test.py:62
↓ 2 callersFunctionbenchmark
(lib, M=4096, N=4096, K=4096, warmup=10, iters=100)
examples/matmul/this-sm90/test_v2.py:171
↓ 2 callersFunctionbenchmark
(lib, M=4096, N=4096, K=4096, warmup=10, iters=100)
examples/matmul/this-sm90/test_v3.py:158
↓ 2 callersFunctionbenchmark
(lib, M=4096, N=4096, K=4096, warmup=10, iters=100)
examples/matmul/this-sm90/test_v4.py:166
↓ 2 callersMethodblockRange
(self)
util/simulator/kernel.py:172
↓ 2 callersFunctionblock_id_in_cluster
Returns the relative dim3 block rank local to the cluster.
include/common.h:435
↓ 2 callersFunctionbuild
(version)
examples/matmul/this-sm80/ablation_test.py:12
↓ 2 callersFunctioncdiv
(a, b)
examples/moe_group_gemm/triton/blocked_grouped_gemm.py:133
↓ 2 callersMethodcount
include/barrier.h:183
↓ 2 callersFunctioncreate_desc_a
A: box = (64, 64) for each 64x64 tile load
examples/matmul/this-sm90/test_v6.py:32
↓ 2 callersFunctioncreate_desc_a
A: box = (64, 128) for full BK x BM tile (single TMA load)
examples/matmul/this-sm90/test_v7.py:34
↓ 2 callersMethodcreate_desc_a
Create TMA descriptor for A (M x K), K-contiguous
examples/matmul/this-sm90/test_v4.py:44
↓ 2 callersFunctioncreate_desc_b
B: box = (64, 256) for full BK x BN tile
examples/matmul/this-sm90/test_v6.py:44
↓ 2 callersFunctioncreate_desc_b
B: box = (64, 128) for half tile (bidirectional multicast)
examples/matmul/this-sm90/test_v7.py:46
↓ 2 callersMethodcreate_desc_b
Create TMA descriptor for B_t (N x K), K-contiguous
examples/matmul/this-sm90/test_v4.py:65
↓ 2 callersFunctioncreate_desc_store
Create TMA descriptor for store (no oobFill needed, but need proper bounds)
examples/matmul/this-sm90/test_v10.py:49
↓ 2 callersFunctioncreate_test_data
(M, N, K, device="cuda")
examples/matmul/this-sm100/fp8_level3/test.py:49
↓ 2 callersFunctioncreate_test_data
(M, N, K, device="cuda")
examples/matmul/this-sm100/fp8_level2/test.py:49
↓ 2 callersFunctioncreate_test_data
Create FP8 matrices and scale factors. For Level 1, all scale factors = 1.0 (UE8M0 value 127 = 0x7F). This means the GEMM output should match
examples/matmul/this-sm100/fp8_level1/test.py:65
↓ 2 callersMethoddim_is_dynamic
(self, key: int)
cutlass.py/tiling.py:119
↓ 2 callersMethoddim_is_static
(self, key: int)
cutlass.py/tiling.py:48
↓ 2 callersFunctionelect_one_sync
include/common.h:403
↓ 2 callersMethodget_grid_shape
( problem_shape: HyperCube, cta_shape: HyperCube, cluster_shape: HyperCube, hw
cutlass.py/tile_scheduler.py:92
↓ 2 callersFunctionget_ind_matrix
(rows, cols)
cutlass.py/swizzle.py:32
↓ 2 callersMethodget_log_swizzle_size
(problem_ctas_m, problem_ctas_n, max_swizzle_size)
cutlass.py/tile_scheduler.py:183
↓ 2 callersMethodget_rasterization_order
(tiles_m, tiles_n, raster_order_option)
cutlass.py/tile_scheduler.py:195
↓ 2 callersFunctionget_row_major_ind
(x, y, rows, cols)
cutlass.py/swizzle.py:35
↓ 2 callersFunctionget_row_major_tuple
(xy, rows, cols)
cutlass.py/swizzle.py:38
↓ 2 callersMethodget_static_dims
(self)
cutlass.py/tiling.py:54
↓ 2 callersMethodhas_dynamic
(self)
cutlass.py/tiling.py:51
↓ 2 callersFunctionlinear_attention_bwd
(rq, iq, rk, ik, rv, iv, rgo, igo, r_scale, i_scale)
examples/attention/triton/fused_linear_attention_complex_bwd_bind_bh.py:362
↓ 2 callersFunctionlinear_attention_fwd
(rq, iq, rk, ik, rv, iv, r_scale, i_scale)
examples/attention/triton/fused_linear_attention_complex.py:184
↓ 2 callersFunctionmain
(M, N, K, version)
examples/matmul/this-sm80/ablation_test.py:26
↓ 2 callersFunctionmake_tensors
Create FP8 input tensors and BF16 output tensor.
examples/matmul/this-sm100/fp8_level6/test.py:283
↓ 2 callersFunctionmatmul
(a, b, activation="")
examples/matmul/triton/triton_matmul.py:269
↓ 2 callersFunctionmatmul_tma_persistent
(desc_a, desc_b, desc_c, dtype, NUM_SMS)
examples/matmul/triton/triton_matmul_sm90.py:164
↓ 2 callersFunctionperf
(func, args, iters=200)
examples/attention/triton/fused_linear_attention_complex.py:274
↓ 2 callersFunctionperf
(func, args, iters=200)
examples/attention/triton/fused_linear_attention_complex_tile_k_tile_n.py:315
↓ 2 callersFunctionperf
(func, args, iters=20)
examples/attention/triton/fused_linear_attention_complex_bwd_bind_bh.py:461
↓ 2 callersFunctionperf
(func, args, iters=200)
examples/attention/triton/fused_linear_attention_complex_tile_k.py:289
↓ 2 callersFunctionperf
(func, args, iters=200)
examples/matmul/triton/complex_matmul.py:139
↓ 2 callersMethodquery_device_multiprocessor_count
(device_id: int = 0, arch: str = "90a")
cutlass.py/hw_info.py:49
next →1–100 of 541, ranked by callers