Untitled
Anonymous
Plain Text
10/10/2025 5:06 AM
37.3 KB
22
Indexable
Never
===================================================================================================================
► 每個『組合實例』(t1 fused vs. t2 separate)
[1] sub_fusion │ ReduceMean_32
t1 fused : 0.014400 ms
t2 separate : 0.011776 ms (Δ -0.002624 ms, speed-up 0.82×)
── t2 breakdown ──
normal : 0.006400 ms
Sub : 0.005376 ms
[2] normalization_fusion │ ReduceMean_36
t1 fused : 0.020672 ms
t2 separate : 0.031553 ms (Δ 0.010881 ms, speed-up 1.53×)
── t2 breakdown ──
normal : 0.006529 ms
Add : 0.003072 ms
Sqrt : 0.002080 ms
Div : 0.007520 ms
Mul : 0.006368 ms
Add : 0.005984 ms
[3] Add │ Gemm_55_MatMul
t1 fused : 0.069601 ms
t2 separate : 0.050817 ms (Δ -0.018784 ms, speed-up 0.73×)
── t2 breakdown ──
normal : 0.036417 ms
Add : 0.014400 ms
[4] div │ MatMul_122
t1 fused : 0.021824 ms
t2 separate : 0.025920 ms (Δ 0.004096 ms, speed-up 1.19×)
── t2 breakdown ──
normal : 0.017248 ms
Div : 0.008672 ms
[5] double_add │ Gemm_174_MatMul
t1 fused : 0.037120 ms
t2 separate : 0.046047 ms (Δ 0.008927 ms, speed-up 1.24×)
── t2 breakdown ──
normal : 0.033504 ms
Add : 0.006336 ms
Add : 0.006207 ms
[6] sub_fusion │ ReduceMean_180
t1 fused : 0.014336 ms
t2 separate : 0.012416 ms (Δ -0.001920 ms, speed-up 0.87×)
── t2 breakdown ──
normal : 0.006912 ms
Sub : 0.005504 ms
[7] normalization_fusion │ ReduceMean_184
t1 fused : 0.020896 ms
t2 separate : 0.031681 ms (Δ 0.010785 ms, speed-up 1.52×)
── t2 breakdown ──
normal : 0.006561 ms
Add : 0.003296 ms
Sqrt : 0.002144 ms
Div : 0.007232 ms
Mul : 0.006272 ms
Add : 0.006176 ms
[8] gpt2_fusion │ Gemm_203_MatMul
t1 fused : 0.144641 ms
t2 separate : 0.292673 ms (Δ 0.148032 ms, speed-up 2.02×)
── t2 breakdown ──
normal : 0.069312 ms
Add : 0.021440 ms
Mul : 0.022208 ms
Pow : 0.030816 ms
Mul : 0.021792 ms
Add : 0.029793 ms
Mul : 0.022432 ms
Tanh : 0.022208 ms
Add : 0.022880 ms
Mul : 0.029792 ms
[9] double_add │ Gemm_233_MatMul
t1 fused : 0.120353 ms
t2 separate : 0.130050 ms (Δ 0.009697 ms, speed-up 1.08×)
── t2 breakdown ──
normal : 0.117376 ms
Add : 0.006305 ms
Add : 0.006369 ms
[10] sub_fusion │ ReduceMean_239
t1 fused : 0.014496 ms
t2 separate : 0.012160 ms (Δ -0.002336 ms, speed-up 0.84×)
── t2 breakdown ──
normal : 0.006656 ms
Sub : 0.005504 ms
[11] normalization_fusion │ ReduceMean_243
t1 fused : 0.020896 ms
t2 separate : 0.031490 ms (Δ 0.010594 ms, speed-up 1.51×)
── t2 breakdown ──
normal : 0.006529 ms
Add : 0.003264 ms
Sqrt : 0.002048 ms
Div : 0.007424 ms
Mul : 0.006208 ms
Add : 0.006017 ms
[12] Add │ Gemm_262_MatMul
t1 fused : 0.069696 ms
t2 separate : 0.050625 ms (Δ -0.019071 ms, speed-up 0.73×)
── t2 breakdown ──
normal : 0.036129 ms
Add : 0.014496 ms
[13] div │ MatMul_329
t1 fused : 0.022560 ms
t2 separate : 0.026017 ms (Δ 0.003457 ms, speed-up 1.15×)
── t2 breakdown ──
normal : 0.016865 ms
Div : 0.009152 ms
[14] double_add │ Gemm_381_MatMul
t1 fused : 0.037536 ms
t2 separate : 0.046593 ms (Δ 0.009057 ms, speed-up 1.24×)
── t2 breakdown ──
normal : 0.033761 ms
Add : 0.006336 ms
Add : 0.006496 ms
[15] sub_fusion │ ReduceMean_387
t1 fused : 0.014368 ms
t2 separate : 0.012128 ms (Δ -0.002240 ms, speed-up 0.84×)
── t2 breakdown ──
normal : 0.006560 ms
Sub : 0.005568 ms
[16] normalization_fusion │ ReduceMean_391
t1 fused : 0.021056 ms
t2 separate : 0.031873 ms (Δ 0.010817 ms, speed-up 1.51×)
── t2 breakdown ──
normal : 0.006528 ms
Add : 0.003265 ms
Sqrt : 0.002080 ms
Div : 0.007712 ms
Mul : 0.006272 ms
Add : 0.006016 ms
[17] gpt2_fusion │ Gemm_410_MatMul
t1 fused : 0.144705 ms
t2 separate : 0.292322 ms (Δ 0.147617 ms, speed-up 2.02×)
── t2 breakdown ──
normal : 0.069408 ms
Add : 0.021312 ms
Mul : 0.022113 ms
Pow : 0.030656 ms
Mul : 0.021696 ms
Add : 0.029761 ms
Mul : 0.022240 ms
Tanh : 0.022464 ms
Add : 0.022496 ms
Mul : 0.030176 ms
[18] double_add │ Gemm_440_MatMul
t1 fused : 0.119937 ms
t2 separate : 0.130145 ms (Δ 0.010208 ms, speed-up 1.09×)
── t2 breakdown ──
normal : 0.117281 ms
Add : 0.006336 ms
Add : 0.006528 ms
[19] sub_fusion │ ReduceMean_446
t1 fused : 0.014240 ms
t2 separate : 0.012480 ms (Δ -0.001760 ms, speed-up 0.88×)
── t2 breakdown ──
normal : 0.006944 ms
Sub : 0.005536 ms
[20] normalization_fusion │ ReduceMean_450
t1 fused : 0.020928 ms
t2 separate : 0.032705 ms (Δ 0.011777 ms, speed-up 1.56×)
── t2 breakdown ──
normal : 0.006528 ms
Add : 0.003297 ms
Sqrt : 0.002048 ms
Div : 0.008768 ms
Mul : 0.006048 ms
Add : 0.006016 ms
[21] Add │ Gemm_469_MatMul
t1 fused : 0.069792 ms
t2 separate : 0.050496 ms (Δ -0.019296 ms, speed-up 0.72×)
── t2 breakdown ──
normal : 0.036064 ms
Add : 0.014432 ms
[22] div │ MatMul_536
t1 fused : 0.021888 ms
t2 separate : 0.026207 ms (Δ 0.004319 ms, speed-up 1.20×)
── t2 breakdown ──
normal : 0.016896 ms
Div : 0.009311 ms
[23] double_add │ Gemm_588_MatMul
t1 fused : 0.037632 ms
t2 separate : 0.046177 ms (Δ 0.008545 ms, speed-up 1.23×)
── t2 breakdown ──
normal : 0.033537 ms
Add : 0.006304 ms
Add : 0.006336 ms
[24] sub_fusion │ ReduceMean_594
t1 fused : 0.014464 ms
t2 separate : 0.012160 ms (Δ -0.002304 ms, speed-up 0.84×)
── t2 breakdown ──
normal : 0.006560 ms
Sub : 0.005600 ms
[25] normalization_fusion │ ReduceMean_598
t1 fused : 0.021088 ms
t2 separate : 0.033440 ms (Δ 0.012352 ms, speed-up 1.59×)
── t2 breakdown ──
normal : 0.006528 ms
Add : 0.003264 ms
Sqrt : 0.002080 ms
Div : 0.009120 ms
Mul : 0.006272 ms
Add : 0.006176 ms
[26] gpt2_fusion │ Gemm_617_MatMul
t1 fused : 0.144769 ms
t2 separate : 0.292929 ms (Δ 0.148160 ms, speed-up 2.02×)
── t2 breakdown ──
normal : 0.069537 ms
Add : 0.021280 ms
Mul : 0.022240 ms
Pow : 0.030560 ms
Mul : 0.021856 ms
Add : 0.030240 ms
Mul : 0.022144 ms
Tanh : 0.022240 ms
Add : 0.022688 ms
Mul : 0.030144 ms
[27] double_add │ Gemm_647_MatMul
t1 fused : 0.120257 ms
t2 separate : 0.130209 ms (Δ 0.009952 ms, speed-up 1.08×)
── t2 breakdown ──
normal : 0.117281 ms
Add : 0.006464 ms
Add : 0.006464 ms
[28] sub_fusion │ ReduceMean_653
t1 fused : 0.014401 ms
t2 separate : 0.012064 ms (Δ -0.002337 ms, speed-up 0.84×)
── t2 breakdown ──
normal : 0.006528 ms
Sub : 0.005536 ms
[29] normalization_fusion │ ReduceMean_657
t1 fused : 0.020896 ms
t2 separate : 0.032961 ms (Δ 0.012065 ms, speed-up 1.58×)
── t2 breakdown ──
normal : 0.006624 ms
Add : 0.003265 ms
Sqrt : 0.002048 ms
Div : 0.008704 ms
Mul : 0.006144 ms
Add : 0.006176 ms
[30] Add │ Gemm_676_MatMul
t1 fused : 0.069504 ms
t2 separate : 0.050592 ms (Δ -0.018912 ms, speed-up 0.73×)
── t2 breakdown ──
normal : 0.036160 ms
Add : 0.014432 ms
[31] div │ MatMul_743
t1 fused : 0.022624 ms
t2 separate : 0.026656 ms (Δ 0.004032 ms, speed-up 1.18×)
── t2 breakdown ──
normal : 0.017312 ms
Div : 0.009344 ms
[32] double_add │ Gemm_795_MatMul
t1 fused : 0.037152 ms
t2 separate : 0.046175 ms (Δ 0.009023 ms, speed-up 1.24×)
── t2 breakdown ──
normal : 0.033631 ms
Add : 0.006400 ms
Add : 0.006144 ms
[33] sub_fusion │ ReduceMean_801
t1 fused : 0.014464 ms
t2 separate : 0.012352 ms (Δ -0.002112 ms, speed-up 0.85×)
── t2 breakdown ──
normal : 0.006880 ms
Sub : 0.005472 ms
[34] normalization_fusion │ ReduceMean_805
t1 fused : 0.020992 ms
t2 separate : 0.033408 ms (Δ 0.012416 ms, speed-up 1.59×)
── t2 breakdown ──
normal : 0.006496 ms
Add : 0.003232 ms
Sqrt : 0.002112 ms
Div : 0.009184 ms
Mul : 0.006176 ms
Add : 0.006208 ms
[35] gpt2_fusion │ Gemm_824_MatMul
t1 fused : 0.146049 ms
t2 separate : 0.292705 ms (Δ 0.146656 ms, speed-up 2.00×)
── t2 breakdown ──
normal : 0.069312 ms
Add : 0.021280 ms
Mul : 0.022272 ms
Pow : 0.030400 ms
Mul : 0.021824 ms
Add : 0.030144 ms
Mul : 0.022112 ms
Tanh : 0.022304 ms
Add : 0.022753 ms
Mul : 0.030304 ms
[36] double_add │ Gemm_854_MatMul
t1 fused : 0.120097 ms
t2 separate : 0.129985 ms (Δ 0.009888 ms, speed-up 1.08×)
── t2 breakdown ──
normal : 0.117281 ms
Add : 0.006368 ms
Add : 0.006336 ms
[37] sub_fusion │ ReduceMean_860
t1 fused : 0.014208 ms
t2 separate : 0.012000 ms (Δ -0.002208 ms, speed-up 0.84×)
── t2 breakdown ──
normal : 0.006528 ms
Sub : 0.005472 ms
[38] normalization_fusion │ ReduceMean_864
t1 fused : 0.021248 ms
t2 separate : 0.032640 ms (Δ 0.011392 ms, speed-up 1.54×)
── t2 breakdown ──
normal : 0.006496 ms
Add : 0.003264 ms
Sqrt : 0.002079 ms
Div : 0.008833 ms
Mul : 0.005952 ms
Add : 0.006016 ms
[39] Add │ Gemm_883_MatMul
t1 fused : 0.069505 ms
t2 separate : 0.050433 ms (Δ -0.019072 ms, speed-up 0.73×)
── t2 breakdown ──
normal : 0.036128 ms
Add : 0.014305 ms
[40] div │ MatMul_950
t1 fused : 0.022080 ms
t2 separate : 0.026688 ms (Δ 0.004608 ms, speed-up 1.21×)
── t2 breakdown ──
normal : 0.017376 ms
Div : 0.009312 ms
[41] double_add │ Gemm_1002_MatMul
t1 fused : 0.037472 ms
t2 separate : 0.046528 ms (Δ 0.009056 ms, speed-up 1.24×)
── t2 breakdown ──
normal : 0.033504 ms
Add : 0.006528 ms
Add : 0.006496 ms
[42] sub_fusion │ ReduceMean_1008
t1 fused : 0.014400 ms
t2 separate : 0.012416 ms (Δ -0.001984 ms, speed-up 0.86×)
── t2 breakdown ──
normal : 0.006880 ms
Sub : 0.005536 ms
[43] normalization_fusion │ ReduceMean_1012
t1 fused : 0.020896 ms
t2 separate : 0.033248 ms (Δ 0.012352 ms, speed-up 1.59×)
── t2 breakdown ──
normal : 0.006464 ms
Add : 0.003264 ms
Sqrt : 0.002080 ms
Div : 0.009056 ms
Mul : 0.006304 ms
Add : 0.006080 ms
[44] gpt2_fusion │ Gemm_1031_MatMul
t1 fused : 0.145249 ms
t2 separate : 0.291906 ms (Δ 0.146657 ms, speed-up 2.01×)
── t2 breakdown ──
normal : 0.069088 ms
Add : 0.021249 ms
Mul : 0.021984 ms
Pow : 0.030529 ms
Mul : 0.021920 ms
Add : 0.030208 ms
Mul : 0.021952 ms
Tanh : 0.022304 ms
Add : 0.022784 ms
Mul : 0.029888 ms
[45] double_add │ Gemm_1061_MatMul
t1 fused : 0.120097 ms
t2 separate : 0.130273 ms (Δ 0.010176 ms, speed-up 1.08×)
── t2 breakdown ──
normal : 0.117281 ms
Add : 0.006464 ms
Add : 0.006528 ms
[46] sub_fusion │ ReduceMean_1067
t1 fused : 0.014144 ms
t2 separate : 0.012064 ms (Δ -0.002080 ms, speed-up 0.85×)
── t2 breakdown ──
normal : 0.006528 ms
Sub : 0.005536 ms
[47] normalization_fusion │ ReduceMean_1071
t1 fused : 0.021408 ms
t2 separate : 0.033057 ms (Δ 0.011649 ms, speed-up 1.54×)
── t2 breakdown ──
normal : 0.006496 ms
Add : 0.003297 ms
Sqrt : 0.002048 ms
Div : 0.008832 ms
Mul : 0.006112 ms
Add : 0.006272 ms
[48] Add │ Gemm_1090_MatMul
t1 fused : 0.069601 ms
t2 separate : 0.050528 ms (Δ -0.019073 ms, speed-up 0.73×)
── t2 breakdown ──
normal : 0.036096 ms
Add : 0.014432 ms
[49] div │ MatMul_1157
t1 fused : 0.022016 ms
t2 separate : 0.025696 ms (Δ 0.003680 ms, speed-up 1.17×)
── t2 breakdown ──
normal : 0.016864 ms
Div : 0.008832 ms
[50] double_add │ Gemm_1209_MatMul
t1 fused : 0.037312 ms
t2 separate : 0.046145 ms (Δ 0.008833 ms, speed-up 1.24×)
── t2 breakdown ──
normal : 0.033696 ms
Add : 0.006432 ms
Add : 0.006017 ms
[51] sub_fusion │ ReduceMean_1215
t1 fused : 0.014176 ms
t2 separate : 0.012448 ms (Δ -0.001728 ms, speed-up 0.88×)
── t2 breakdown ──
normal : 0.006912 ms
Sub : 0.005536 ms
[52] normalization_fusion │ ReduceMean_1219
t1 fused : 0.020928 ms
t2 separate : 0.033120 ms (Δ 0.012192 ms, speed-up 1.58×)
── t2 breakdown ──
normal : 0.006496 ms
Add : 0.003232 ms
Sqrt : 0.002080 ms
Div : 0.009088 ms
Mul : 0.006208 ms
Add : 0.006016 ms
[53] gpt2_fusion │ Gemm_1238_MatMul
t1 fused : 0.144736 ms
t2 separate : 0.292002 ms (Δ 0.147266 ms, speed-up 2.02×)
── t2 breakdown ──
normal : 0.069216 ms
Add : 0.021312 ms
Mul : 0.022144 ms
Pow : 0.030432 ms
Mul : 0.021792 ms
Add : 0.029664 ms
Mul : 0.022177 ms
Tanh : 0.022177 ms
Add : 0.022880 ms
Mul : 0.030208 ms
[54] double_add │ Gemm_1268_MatMul
t1 fused : 0.120288 ms
t2 separate : 0.129889 ms (Δ 0.009601 ms, speed-up 1.08×)
── t2 breakdown ──
normal : 0.117281 ms
Add : 0.006176 ms
Add : 0.006432 ms
[55] sub_fusion │ ReduceMean_1274
t1 fused : 0.014368 ms
t2 separate : 0.012576 ms (Δ -0.001792 ms, speed-up 0.88×)
── t2 breakdown ──
normal : 0.006880 ms
Sub : 0.005696 ms
[56] normalization_fusion │ ReduceMean_1278
t1 fused : 0.021056 ms
t2 separate : 0.032736 ms (Δ 0.011680 ms, speed-up 1.55×)
── t2 breakdown ──
normal : 0.006528 ms
Add : 0.003296 ms
Sqrt : 0.002048 ms
Div : 0.008704 ms
Mul : 0.006048 ms
Add : 0.006112 ms
[57] Add │ Gemm_1297_MatMul
t1 fused : 0.070113 ms
t2 separate : 0.050720 ms (Δ -0.019393 ms, speed-up 0.72×)
── t2 breakdown ──
normal : 0.036288 ms
Add : 0.014432 ms
[58] div │ MatMul_1364
t1 fused : 0.022881 ms
t2 separate : 0.026464 ms (Δ 0.003583 ms, speed-up 1.16×)
── t2 breakdown ──
normal : 0.017216 ms
Div : 0.009248 ms
[59] double_add │ Gemm_1416_MatMul
t1 fused : 0.037601 ms
t2 separate : 0.046593 ms (Δ 0.008992 ms, speed-up 1.24×)
── t2 breakdown ──
normal : 0.033601 ms
Add : 0.006368 ms
Add : 0.006624 ms
[60] sub_fusion │ ReduceMean_1422
t1 fused : 0.014241 ms
t2 separate : 0.012256 ms (Δ -0.001985 ms, speed-up 0.86×)
── t2 breakdown ──
normal : 0.006752 ms
Sub : 0.005504 ms
[61] normalization_fusion │ ReduceMean_1426
t1 fused : 0.021472 ms
t2 separate : 0.032831 ms (Δ 0.011359 ms, speed-up 1.53×)
── t2 breakdown ──
normal : 0.006496 ms
Add : 0.003263 ms
Sqrt : 0.002080 ms
Div : 0.008736 ms
Mul : 0.006176 ms
Add : 0.006080 ms
[62] gpt2_fusion │ Gemm_1445_MatMul
t1 fused : 0.145121 ms
t2 separate : 0.291905 ms (Δ 0.146784 ms, speed-up 2.01×)
── t2 breakdown ──
normal : 0.069120 ms
Add : 0.021055 ms
Mul : 0.022273 ms
Pow : 0.030336 ms
Mul : 0.022016 ms
Add : 0.029793 ms
Mul : 0.022336 ms
Tanh : 0.022368 ms
Add : 0.022496 ms
Mul : 0.030112 ms
[63] double_add │ Gemm_1475_MatMul
t1 fused : 0.120353 ms
t2 separate : 0.129793 ms (Δ 0.009440 ms, speed-up 1.08×)
── t2 breakdown ──
normal : 0.117281 ms
Add : 0.006208 ms
Add : 0.006304 ms
[64] sub_fusion │ ReduceMean_1481
t1 fused : 0.014209 ms
t2 separate : 0.012160 ms (Δ -0.002049 ms, speed-up 0.86×)
── t2 breakdown ──
normal : 0.006720 ms
Sub : 0.005440 ms
[65] normalization_fusion │ ReduceMean_1485
t1 fused : 0.020928 ms
t2 separate : 0.032673 ms (Δ 0.011745 ms, speed-up 1.56×)
── t2 breakdown ──
normal : 0.006560 ms
Add : 0.003232 ms
Sqrt : 0.002049 ms
Div : 0.008704 ms
Mul : 0.006048 ms
Add : 0.006080 ms
[66] Add │ Gemm_1504_MatMul
t1 fused : 0.070049 ms
t2 separate : 0.050624 ms (Δ -0.019425 ms, speed-up 0.72×)
── t2 breakdown ──
normal : 0.036096 ms
Add : 0.014528 ms
[67] div │ MatMul_1571
t1 fused : 0.022241 ms
t2 separate : 0.026272 ms (Δ 0.004031 ms, speed-up 1.18×)
── t2 breakdown ──
normal : 0.017248 ms
Div : 0.009024 ms
[68] double_add │ Gemm_1623_MatMul
t1 fused : 0.037440 ms
t2 separate : 0.046305 ms (Δ 0.008865 ms, speed-up 1.24×)
── t2 breakdown ──
normal : 0.033633 ms
Add : 0.006368 ms
Add : 0.006304 ms
[69] sub_fusion │ ReduceMean_1629
t1 fused : 0.014304 ms
t2 separate : 0.012128 ms (Δ -0.002176 ms, speed-up 0.85×)
── t2 breakdown ──
normal : 0.006624 ms
Sub : 0.005504 ms
[70] normalization_fusion │ ReduceMean_1633
t1 fused : 0.020960 ms
t2 separate : 0.033440 ms (Δ 0.012480 ms, speed-up 1.60×)
── t2 breakdown ──
normal : 0.006560 ms
Add : 0.003232 ms
Sqrt : 0.002112 ms
Div : 0.008960 ms
Mul : 0.006304 ms
Add : 0.006272 ms
[71] gpt2_fusion │ Gemm_1652_MatMul
t1 fused : 0.145121 ms
t2 separate : 0.291906 ms (Δ 0.146785 ms, speed-up 2.01×)
── t2 breakdown ──
normal : 0.069088 ms
Add : 0.020928 ms
Mul : 0.022080 ms
Pow : 0.030625 ms
Mul : 0.021664 ms
Add : 0.029824 ms
Mul : 0.022016 ms
Tanh : 0.022336 ms
Add : 0.023072 ms
Mul : 0.030273 ms
[72] double_add │ Gemm_1682_MatMul
t1 fused : 0.120257 ms
t2 separate : 0.130081 ms (Δ 0.009824 ms, speed-up 1.08×)
── t2 breakdown ──
normal : 0.117217 ms
Add : 0.006368 ms
Add : 0.006496 ms
[73] sub_fusion │ ReduceMean_1688
t1 fused : 0.014336 ms
t2 separate : 0.012512 ms (Δ -0.001824 ms, speed-up 0.87×)
── t2 breakdown ──
normal : 0.006976 ms
Sub : 0.005536 ms
[74] normalization_fusion │ ReduceMean_1692
t1 fused : 0.021280 ms
t2 separate : 0.032513 ms (Δ 0.011233 ms, speed-up 1.53×)
── t2 breakdown ──
normal : 0.006561 ms
Add : 0.003264 ms
Sqrt : 0.002048 ms
Div : 0.008512 ms
Mul : 0.006112 ms
Add : 0.006016 ms
[75] Add │ Gemm_1711_MatMul
t1 fused : 0.069600 ms
t2 separate : 0.051008 ms (Δ -0.018592 ms, speed-up 0.73×)
── t2 breakdown ──
normal : 0.036416 ms
Add : 0.014592 ms
[76] div │ MatMul_1778
t1 fused : 0.021952 ms
t2 separate : 0.025344 ms (Δ 0.003392 ms, speed-up 1.15×)
── t2 breakdown ──
normal : 0.016736 ms
Div : 0.008608 ms
[77] double_add │ Gemm_1830_MatMul
t1 fused : 0.037696 ms
t2 separate : 0.046721 ms (Δ 0.009025 ms, speed-up 1.24×)
── t2 breakdown ──
normal : 0.034016 ms
Add : 0.006336 ms
Add : 0.006369 ms
[78] sub_fusion │ ReduceMean_1836
t1 fused : 0.013952 ms
t2 separate : 0.012160 ms (Δ -0.001792 ms, speed-up 0.87×)
── t2 breakdown ──
normal : 0.006592 ms
Sub : 0.005568 ms
[79] normalization_fusion │ ReduceMean_1840
t1 fused : 0.021120 ms
t2 separate : 0.033728 ms (Δ 0.012608 ms, speed-up 1.60×)
── t2 breakdown ──
normal : 0.006592 ms
Add : 0.003232 ms
Sqrt : 0.002080 ms
Div : 0.009056 ms
Mul : 0.006304 ms
Add : 0.006464 ms
[80] gpt2_fusion │ Gemm_1859_MatMul
t1 fused : 0.145569 ms
t2 separate : 0.292706 ms (Δ 0.147137 ms, speed-up 2.01×)
── t2 breakdown ──
normal : 0.069633 ms
Add : 0.021088 ms
Mul : 0.022080 ms
Pow : 0.030592 ms
Mul : 0.022016 ms
Add : 0.030080 ms
Mul : 0.022080 ms
Tanh : 0.022400 ms
Add : 0.022689 ms
Mul : 0.030048 ms
[81] double_add │ Gemm_1889_MatMul
t1 fused : 0.120288 ms
t2 separate : 0.129952 ms (Δ 0.009664 ms, speed-up 1.08×)
── t2 breakdown ──
normal : 0.117248 ms
Add : 0.006400 ms
Add : 0.006304 ms
[82] sub_fusion │ ReduceMean_1895
t1 fused : 0.014048 ms
t2 separate : 0.012192 ms (Δ -0.001856 ms, speed-up 0.87×)
── t2 breakdown ──
normal : 0.006656 ms
Sub : 0.005536 ms
[83] normalization_fusion │ ReduceMean_1899
t1 fused : 0.021344 ms
t2 separate : 0.032161 ms (Δ 0.010817 ms, speed-up 1.51×)
── t2 breakdown ──
normal : 0.006528 ms
Add : 0.003264 ms
Sqrt : 0.002016 ms
Div : 0.008225 ms
Mul : 0.005952 ms
Add : 0.006176 ms
[84] Add │ Gemm_1918_MatMul
t1 fused : 0.069601 ms
t2 separate : 0.050976 ms (Δ -0.018625 ms, speed-up 0.73×)
── t2 breakdown ──
normal : 0.036224 ms
Add : 0.014752 ms
[85] div │ MatMul_1985
t1 fused : 0.022592 ms
t2 separate : 0.026433 ms (Δ 0.003841 ms, speed-up 1.17×)
── t2 breakdown ──
normal : 0.017184 ms
Div : 0.009249 ms
[86] double_add │ Gemm_2037_MatMul
t1 fused : 0.037344 ms
t2 separate : 0.046497 ms (Δ 0.009153 ms, speed-up 1.25×)
── t2 breakdown ──
normal : 0.033632 ms
Add : 0.006337 ms
Add : 0.006528 ms
[87] sub_fusion │ ReduceMean_2043
t1 fused : 0.014433 ms
t2 separate : 0.012097 ms (Δ -0.002336 ms, speed-up 0.84×)
── t2 breakdown ──
normal : 0.006593 ms
Sub : 0.005504 ms
[88] normalization_fusion │ ReduceMean_2047
t1 fused : 0.021408 ms
t2 separate : 0.033089 ms (Δ 0.011681 ms, speed-up 1.55×)
── t2 breakdown ──
normal : 0.006496 ms
Add : 0.003264 ms
Sqrt : 0.002112 ms
Div : 0.008960 ms
Mul : 0.006273 ms
Add : 0.005984 ms
[89] gpt2_fusion │ Gemm_2066_MatMul
t1 fused : 0.143905 ms
t2 separate : 0.291140 ms (Δ 0.147235 ms, speed-up 2.02×)
── t2 breakdown ──
normal : 0.068993 ms
Add : 0.021216 ms
Mul : 0.022240 ms
Pow : 0.030529 ms
Mul : 0.021760 ms
Add : 0.029728 ms
Mul : 0.021920 ms
Tanh : 0.022400 ms
Add : 0.022497 ms
Mul : 0.029857 ms
[90] double_add │ Gemm_2096_MatMul
t1 fused : 0.120257 ms
t2 separate : 0.129922 ms (Δ 0.009665 ms, speed-up 1.08×)
── t2 breakdown ──
normal : 0.117185 ms
Add : 0.006209 ms
Add : 0.006528 ms
[91] sub_fusion │ ReduceMean_2102
t1 fused : 0.014272 ms
t2 separate : 0.012319 ms (Δ -0.001953 ms, speed-up 0.86×)
── t2 breakdown ──
normal : 0.006528 ms
Sub : 0.005791 ms
[92] normalization_fusion │ ReduceMean_2106
t1 fused : 0.021088 ms
t2 separate : 0.032641 ms (Δ 0.011553 ms, speed-up 1.55×)
── t2 breakdown ──
normal : 0.006528 ms
Add : 0.003264 ms
Sqrt : 0.002048 ms
Div : 0.008736 ms
Mul : 0.006016 ms
Add : 0.006049 ms
[93] Add │ Gemm_2125_MatMul
t1 fused : 0.069856 ms
t2 separate : 0.050593 ms (Δ -0.019263 ms, speed-up 0.72×)
── t2 breakdown ──
normal : 0.036128 ms
Add : 0.014465 ms
[94] div │ MatMul_2192
t1 fused : 0.022976 ms
t2 separate : 0.025984 ms (Δ 0.003008 ms, speed-up 1.13×)
── t2 breakdown ──
normal : 0.017024 ms
Div : 0.008960 ms
[95] double_add │ Gemm_2244_MatMul
t1 fused : 0.037440 ms
t2 separate : 0.047136 ms (Δ 0.009696 ms, speed-up 1.26×)
── t2 breakdown ──
normal : 0.033664 ms
Add : 0.006752 ms
Add : 0.006720 ms
[96] sub_fusion │ ReduceMean_2250
t1 fused : 0.014560 ms
t2 separate : 0.012160 ms (Δ -0.002400 ms, speed-up 0.84×)
── t2 breakdown ──
normal : 0.006688 ms
Sub : 0.005472 ms
[97] normalization_fusion │ ReduceMean_2254
t1 fused : 0.021344 ms
t2 separate : 0.033312 ms (Δ 0.011968 ms, speed-up 1.56×)
── t2 breakdown ──
normal : 0.006528 ms
Add : 0.003232 ms
Sqrt : 0.002080 ms
Div : 0.009088 ms
Mul : 0.006176 ms
Add : 0.006208 ms
[98] gpt2_fusion │ Gemm_2273_MatMul
t1 fused : 0.144704 ms
t2 separate : 0.293025 ms (Δ 0.148321 ms, speed-up 2.02×)
── t2 breakdown ──
normal : 0.069984 ms
Add : 0.021311 ms
Mul : 0.022112 ms
Pow : 0.030689 ms
Mul : 0.021889 ms
Add : 0.029600 ms
Mul : 0.022432 ms
Tanh : 0.022176 ms
Add : 0.022720 ms
Mul : 0.030112 ms
[99] double_add │ Gemm_2303_MatMul
t1 fused : 0.120001 ms
t2 separate : 0.130113 ms (Δ 0.010112 ms, speed-up 1.08×)
── t2 breakdown ──
normal : 0.117281 ms
Add : 0.006368 ms
Add : 0.006464 ms
[100] sub_fusion │ ReduceMean_2309
t1 fused : 0.014368 ms
t2 separate : 0.012161 ms (Δ -0.002207 ms, speed-up 0.85×)
── t2 breakdown ──
normal : 0.006688 ms
Sub : 0.005473 ms
[101] normalization_fusion │ ReduceMean_2313
t1 fused : 0.021376 ms
t2 separate : 0.032609 ms (Δ 0.011233 ms, speed-up 1.53×)
── t2 breakdown ──
normal : 0.006528 ms
Add : 0.003264 ms
Sqrt : 0.002016 ms
Div : 0.008608 ms
Mul : 0.006048 ms
Add : 0.006145 ms
[102] Add │ Gemm_2332_MatMul
t1 fused : 0.069568 ms
t2 separate : 0.050656 ms (Δ -0.018912 ms, speed-up 0.73×)
── t2 breakdown ──
normal : 0.036256 ms
Add : 0.014400 ms
[103] div │ MatMul_2399
t1 fused : 0.022304 ms
t2 separate : 0.026176 ms (Δ 0.003872 ms, speed-up 1.17×)
── t2 breakdown ──
normal : 0.017152 ms
Div : 0.009024 ms
[104] double_add │ Gemm_2451_MatMul
t1 fused : 0.037728 ms
t2 separate : 0.046144 ms (Δ 0.008416 ms, speed-up 1.22×)
── t2 breakdown ──
normal : 0.033568 ms
Add : 0.006272 ms
Add : 0.006304 ms
[105] sub_fusion │ ReduceMean_2457
t1 fused : 0.014336 ms
t2 separate : 0.012128 ms (Δ -0.002208 ms, speed-up 0.85×)
── t2 breakdown ──
normal : 0.006624 ms
Sub : 0.005504 ms
[106] normalization_fusion │ ReduceMean_2461
t1 fused : 0.023072 ms
t2 separate : 0.033151 ms (Δ 0.010079 ms, speed-up 1.44×)
── t2 breakdown ──
normal : 0.006591 ms
Add : 0.003264 ms
Sqrt : 0.002080 ms
Div : 0.008896 ms
Mul : 0.006144 ms
Add : 0.006176 ms
[107] gpt2_fusion │ Gemm_2480_MatMul
t1 fused : 0.143360 ms
t2 separate : 0.292835 ms (Δ 0.149475 ms, speed-up 2.04×)
── t2 breakdown ──
normal : 0.068992 ms
Add : 0.021153 ms
Mul : 0.022208 ms
Pow : 0.030688 ms
Mul : 0.021729 ms
Add : 0.030369 ms
Mul : 0.022336 ms
Tanh : 0.022592 ms
Add : 0.022560 ms
Mul : 0.030208 ms
[108] double_add │ Gemm_2510_MatMul
t1 fused : 0.120321 ms
t2 separate : 0.130337 ms (Δ 0.010016 ms, speed-up 1.08×)
── t2 breakdown ──
normal : 0.117345 ms
Add : 0.006336 ms
Add : 0.006656 ms
[109] sub_fusion │ ReduceMean_2516
t1 fused : 0.014464 ms
t2 separate : 0.012416 ms (Δ -0.002048 ms, speed-up 0.86×)
── t2 breakdown ──
normal : 0.006912 ms
Sub : 0.005504 ms
[110] normalization_fusion │ ReduceMean_2520
t1 fused : 0.023552 ms
t2 separate : 0.032736 ms (Δ 0.009184 ms, speed-up 1.39×)
── t2 breakdown ──
normal : 0.006528 ms
Add : 0.003264 ms
Sqrt : 0.002048 ms
Div : 0.008704 ms
Mul : 0.005984 ms
Add : 0.006208 ms
===================================================================================================================
► 每個『組合類型』總和
sub_fusion : fused 0.357988 ms sep 0.305729 ms Δ -0.052259 ms speed-up 0.85×
normalization_fusion : fused 0.531904 ms sep 0.818796 ms Δ 0.286892 ms speed-up 1.54×
Add : fused 0.836486 ms sep 0.608068 ms Δ -0.228418 ms speed-up 0.73×
div : fused 0.267938 ms sep 0.313857 ms Δ 0.045919 ms speed-up 1.17×
double_add : fused 1.891979 ms sep 2.117810 ms Δ 0.225831 ms speed-up 1.12×
gpt2_fusion : fused 1.737929 ms sep 3.508054 ms Δ 1.770125 ms speed-up 2.02×
===================================================================================================================
► 四組合累計 Σ
Σ fused : 5.624224 ms
Σ separate : 7.672314 ms
Δ (sep-fuse): 2.048090 ms speed-up 1.36×
===================================================================================================================
► 其餘 Run_with_type 彙總 (未納入組合)
Add : t1 0.005632 ms │ t2 0.005728 ms │ Δ 0.000096 ms
Concat : t1 0.253251 ms │ t2 0.255684 ms │ Δ 0.002433 ms
Gather : t1 0.023905 ms │ t2 0.025280 ms │ Δ 0.001375 ms
Pow : t1 0.133699 ms │ t2 0.132703 ms │ Δ -0.000996 ms
ReduceMean : t1 0.889892 ms │ t2 0.000000 ms │ Δ -0.889892 ms
Shape : t1 0.012512 ms │ t2 0.014017 ms │ Δ 0.001505 ms
Softmax : t1 0.127681 ms │ t2 0.125984 ms │ Δ -0.001697 ms
Transpose : t1 0.460542 ms │ t2 0.462304 ms │ Δ 0.001762 ms
Where : t1 0.158178 ms │ t2 0.164289 ms │ Δ 0.006111 ms
===================================================================================================================
► 子-op (含 normal) 跨全部組合累積時間
normal : 3.613111 ms
Add : 1.601204 ms
Mul : 1.309128 ms
Pow : 0.366852 ms
Div : 0.324098 ms
Tanh : 0.267969 ms
Sub : 0.138208 ms
Sqrt : 0.051744 ms
===================================================================================================================
► 整體檔案總執行時間
t1 total : 7.705037 ms
t2 total : 9.762980 ms
Δ : 2.057943 ms speed-up 1.27×
Editor is loading...
Leave a Comment