From f4e8eff04016fa176ffab3845378f24329cbf45c Mon Sep 17 00:00:00 2001 From: admin Date: Thu, 3 Sep 2026 12:35:30 +0000 Subject: [PATCH] Add BMM_Theory: t_p.csv --- BMM/BMM_Theory/t_p.csv | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 BMM/BMM_Theory/t_p.csv diff --git a/BMM/BMM_Theory/t_p.csv b/BMM/BMM_Theory/t_p.csv new file mode 100644 index 0000000..f719629 --- /dev/null +++ b/BMM/BMM_Theory/t_p.csv @@ -0,0 +1,4 @@ +case_id,branch,npu,op,used_core_num,split_b,m_cnt,n_cnt,grid_k,core_map,b_core,merge_b0,single_core_m,single_core_n,single_core_k,k_l1,b_l1,l1_form,base_m,base_n,base_k,l2_policy_in,l2_policy_out,swizzle_w,workspace_bytes,tail_strategy,tail_m_cnt,tail_n_cnt,tail_k_cnt,tail_m_main,tail_n_main,tail_block_cnt,tail_wave_num,fixpipe_unitflag,out_dtype_bytes,note +x,StreamK,Ascend950PR,batch_mat_mul_v3,32,1,1,1,3,"B/M/N切出51块, 每块3核切K归约 (归约组内核c负责K段[c*K/3,(c+1)*K/3))",1,1,255,42,228,128,1,K段标准分块流水,128,42,64,allocate(部分和驻留L2),"resident(部分和4B驻留L2, 防精度丢失不随C的fp16/fp8转换)",0,6554520,grid_K=3路切K+归约,1,1,3,0,0,0,0,True,4,"P=8.33, grid_K=3, 部分和驻留L2按4B写出, AIV归约后按C dtype=4B写最终" +y,ASW_Basic_降核,Ascend950PR,batch_mat_mul_v3,1,1,1,1,1,"降核: 只用1核, 每核一个L0C满载输出块, 其余核闲置",0,1,64,16,32,32,1,标准核内流水,64,16,32,allocate,direct_gm,0,0,不涉及(每核一块无尾轮),1,1,1,0,0,0,0,True,2,"P=0.03L1随路驻留L2),"direct_gm(输出仅写一次,直写GM不占L2)",0,0,不涉及(核内不切M/N),1,1,1,0,0,0,0,True,2,双batch乒乓: 2*(MK+KN)*dtype=36KB <= L1