Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/CUDApp/blob/main/evidence/GEMM-TUNE-20261027/ab-wolfram-main.wl # CUDApp CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `CUDApp / evidence / GEMM-TUNE-20261027 / ab-wolfram-main.wl` 14 lines · 13012 bytes Raw Blame History 1 data = {{"bf16","64x1024x2048",2,{428371,`3038324`,207761,`2695074`,413427,206785,218417},{`3639417`,312274,247474,174945,`3751626`,105441,104209},{428371+`10658443`,`3038324`+`6224411`,207761+`6699870`,`2695074`+`2717394`,413427+`10304373`,206785+401891,218417+`2477442`},{`3639417`+`10486921`,312274+929127,247474+`4384973`,174945+`6666845`,`3751626`+`3928092`,105441+413715,104209+373826}},{"e4m3","512x2048x4096",2,{`2984053`,807765,`3968875`,828246,`3007589`,879894,991511},{317379,355746,`3619657`,`2970372`,316931,341746},{`2984053`+`9335058`,807765+`8498810`,`3968875`+`7957638`,828246+428002,`3007589`+`12280711`,879894+217393,991511+`4988211`},{317379+`9244976`,355746+`9230528`,`3619657`+`4150652`,`2970372`+`11374973`,316931+`6611134`,341746+`4883026`}},{"bf16","3000x5000x700",0,{`4126141`,`5998249`,`6701421`,`4064091`,`4663280`,`4220285`,`4070237`},{`2995973`,`3000485`,`2932964`,`4222780`,`2990997`,`1929614`,`1846413`},{`4126141`+`6533326`,`5998249`+`5866424`,`6701421`+`4959666`,`4064091`+`9042733`,`4663280`+`5825511`,`4220285`+565523,`4070237`+453651},{`2995973`+`6127371`,`3000485`+`9634850`,`2932964`+`5207571`,`4222780`+`5061506`,`2990997`+`9577971`,`1929614`+628084,`1846413`+`1196808`}},{"bf16","1024x1024x1024",0,{`2983733`,`2998372`,`2941284`,`1185576`,924966,434707,`1142696`},{`4099677`,216161,`1053991`,`8360857`,`3716794`,329954},{`2983733`+`6309388`,`2998372`+`5297429`,`2941284`+`10922795`,`1185576`+`4375469`,924966+`7319299`,434707+`1254696`,`1142696`+`3181782`},{`4099677`+`2656322`,216161+667557,`1053991`+`4169244`,`8360857`+`2327615`,`3716794`+`3898427`,329954+`3121397`}},{"e4m3","2048x16384x2048",2,{`12025348`,`13997568`,`11066059`,`11002458`,`11105211`,`12246325`,`10810090`},{`3854939`,`6002681`,`4435358`,`4541727`,`5998714`,`4053964`},{`12025348`+`5945049`,`13997568`+`7056672`,`11066059`+`6447324`,`11002458`+`4087675`,`11105211`+`7363505`,`12246325`+`3278887`,`10810090`+791462},{`3854939`+730661,`6002681`+`9001358`,`4435358`+`6698830`,`4541727`+`1503610`,`5998714`+`7201411`,`4053964`+`6304780`}},{"e4m3","2048x2048x4096",2,{`5988986`,`6197643`,`3011173`,`3579048`,`5996026`,`3159750`,`3230534`},{883831,`3300551`,`2974229`,822101,838726,885734},{`5988986`+`20611697`,`6197643`+524227,`3011173`+`7920486`,`3579048`+`5340100`,`5996026`+`19028230`,`3159750`+307666,`3230534`+363634},{883831+`2394864`,`3300551`+`7919735`,`2974229`+`5302052`,822101+`3309175`,838726+`13674399`,885734+537620}},{"e4m3","1000x999x1001",0,{`3134886`,421219,`3728489`,366339,`5855399`,337170,714821},{208114,`2025246`,419203,`2999236`,`2897636`,463587},{`3134886`+`6810848`,421219+`9471121`,`3728489`+`3385031`,366339+`3691784`,`5855399`+`5056130`,337170+228978,714821+`2385473`},{208114+735621,`2025246`+`6162667`,419203+`4893905`,`2999236`+`9401999`,`2897636`+`10091127`,463587+`3363656`}},{"bf16","1000x999x1001",0,{`2987173`,927558,`2992036`,`2997956`,`4080747`,619060,558148},{585060,`3011541`,`1945037`,213874,`2986565`,`2988596`},{`2987173`+`10240889`,927558+`4331278`,`2992036`+`12772023`,`2997956`+`6459228`,`4080747`+`1472522`,619060+`3679785`,558148+449203},{585060+`5719320`,`3011541`+`5902440`,`1945037`+`6156522`,213874+`9442656`,`2986565`+`6009498`,`2988596`+`4820578`}},{"e4m3","4096x4096x4096",0,{`11384784`,`12302180`,`11306621`,`10823337`,`10933337`,`10652858`,`11031452`},{`3151158`,`4485183`,`2979220`,`5985464`,`4956483`,`3076693`,`3144310`},{`11384784`+`4456655`,`12302180`+`7283378`,`11306621`+`7582452`,`10823337`+972759,`10933337`+`6730669`,`10652858`+952102,`11031452`+966759},{`3151158`+`4552831`,`4485183`+`11143629`,`2979220`+`4001307`,`5985464`+`6199850`,`4956483`+`16411155`,`3076693`+997255,`3144310`+`6631262`}},{"bf16","2048x16384x2048",2,{`21453127`,`21413506`,`22442105`,`21468177`,`22071035`,`24929180`,`21896903`},{`5289941`,`5412277`,`5998953`,`5662102`,`5780936`,`6336556`},{`21453127`+`14298324`,`21413506`+`4286925`,`22442105`+`8894764`,`21468177`+`1081943`,`22071035`+`10565115`,`24929180`+`4382463`,`21896903`+`3082853`},{`5289941`+`1053575`,`5412277`+`1058631`,`5998953`+`6722589`,`5662102`+`6612253`,`5780936`+`3587881`,`6336556`+`5902729`}},{"bf16","8192x8192x8192",0,{`226195383`,`215291887`,`220996095`,`218336157`,`213673644`,`257794693`,`230711609`},{`30610629`,`44999557`,`34621243`,`35144397`,`33583835`,`35890697`},{`226195383`+`17989214`,`215291887`+`8592171`,`220996095`+`12538166`,`218336157`+`4449214`,`213673644`+`5922712`,`257794693`+`7161617`,`230711609`+`5113155`},{`30610629`+`5575814`,`44999557`+`4357006`,`34621243`+`8248743`,`35144397`+`9071165`,`33583835`+`20388190`,`35890697`+`4657568`}},{"e4m3","64x2048x512",2,{`1349721`,122384,110064,`2996164`,104897,113937,110448},{593956,104353,300994,`2999028`,`2987813`,117793},{`1349721`+`2252432`,122384+`3603161`,110064+`1633852`,`2996164`+`5925287`,104897+221521,113937+348946,110448+`1413386`},{593956+`1145208`,104353+322162,300994+`4863681`,`2999028`+`6189242`,`2987813`+`6642046`,117793+`7666133`}},{"bf16","2048x12288x2048",2,{`16679365`,`16071678`,`15905292`,`16287166`,`15997297`,`20893744`,`16772004`},{`6993185`,`6070554`,`4281997`,`4386206`,`4252510`,`4285694`},{`16679365`+`2498945`,`16071678`+732469,`15905292`+`8543962`,`16287166`+`4078220`,`15997297`+`4406895`,`20893744`+`1266041`,`16772004`+`1107672`},{`6993185`+`15190969`,`6070554`+`4010891`,`4281997`+`2875444`,`4386206`+`11336300`,`4252510`+`6099674`,`4285694`+`3734938`}},{"e4m3","2048x2048x2048",0,{`2091807`,`1747308`,`4891729`,`1634011`,`1798333`},{628164,627252,`2983573`,`2998180`,`3002533`,990135},{`2091807`+`7425252`,`1747308`+`1151432`,`4891729`+`3011861`,`1634011`+227809,`1798333`+435442},{628164+`12786393`,627252+`3680089`,`2983573`+`6174458`,`2998180`+`6126346`,`3002533`+`15762670`,990135+`12571703`}},{"e4m3","8192x8192x8192",0,{`99138408`,`99981579`,`101308176`,`101593547`,`102932596`,`118812117`,`102530195`},{`20447582`,`20186299`,`18993040`,`20437466`,`20827216`,`21409765`,`20007290`},{`99138408`+`6196027`,`99981579`+`11880866`,`101308176`+`15254855`,`101593547`+`3333943`,`102932596`+`9019792`,`118812117`+`4700144`,`102530195`+`5594022`},{`20447582`+`7970951`,`20186299`+`9839875`,`18993040`+`15616282`,`20437466`+`6804446`,`20827216`+`6457246`,`21409765`+`5672951`,`20007290`+`5882056`}},{"e4m3","512x8192x2048",2,{`2925573`,`3467848`,`1563355`,`1560938`,`2992197`,`1771645`,`1729340`},{`2975381`,`3303095`,903462,`3603801`,`2998069`,`2984276`,675173},{`2925573`+`8282138`,`3467848`+`13679133`,`1563355`+498003,`1560938`+`4575647`,`2992197`+`8838539`,`1771645`+`4109436`,`1729340`+549380},{`2975381`+`5583654`,`3303095`+`10426807`,903462+`5056738`,`3603801`+`3836058`,`2998069`+`6541262`,`2984276`+`6414621`,675173+423027}},{"e4m3","16x12288x2048",2,{`2948485`,290594,497412,`1214168`,`2998597`,332322,330947},{954391,215505,385234,`3140245`,`3390183`},{`2948485`+`9134880`,290594+`6871231`,497412+`8172903`,`1214168`+`3969275`,`2998597`+`6086683`,332322+`2932565`,330947+548259},{954391+`1953310`,215505+`7471123`,385234+`2659603`,`3140245`+`4703536`,`3390183`+`8989055`}},{"bf16","4096x4096x4096",0,{`24003305`,`24519848`,`24383894`,`24700278`,`26582706`,`33953835`,`27518574`},{`4792673`,`4936738`,`4660688`,`4745328`,`4583056`,`4740257`,`4696321`},{`24003305`+`12020724`,`24519848`+`6478396`,`24383894`+`2525185`,`24700278`+`5846935`,`26582706`+`1936397`,`33953835`+`4613408`,`27518574`+`3280727`},{`4792673`+`12699480`,`4936738`+`9113071`,`4660688`+`1360089`,`4745328`+`7979158`,`4583056`+`9342194`,`4740257`+`1489290`,`4696321`+`12785176`}},{"e4m3","1024x1024x1024",0,{319314,`3020644`,`2995780`,759157,`2979733`,411795,391459},{`3384120`,`4002316`,398963,`2999445`,372482,`3846218`},{319314+`5988794`,`3020644`+`9978837`,`2995780`+`11968225`,759157+`3148645`,`2979733`+`9856854`,411795+445667,391459+`1043415`},{`3384120`+928486,`4002316`+`6124154`,398963+`5266820`,`2999445`+`12262802`,372482+920519,`3846218`+`4333934`}},{"bf16","2048x2048x2048",0,{`4535855`,`3281783`,`5008802`,`3013892`,`2991668`,`3979724`,`3164982`},{`3981676`,765446,866838,`1747532`,`2966197`,957639},{`4535855`+`11560625`,`3281783`+`11337165`,`5008802`+`13450459`,`3013892`+`1189400`,`2991668`+`6519676`,`3979724`+`3601432`,`3164982`+526100},{`3981676`+`6843679`,765446+564388,866838+`4564687`,`1747532`+`7455537`,`2966197`+`4907506`,957639+`3930795`}},{"e4m3","8192x64x8192",0,{`2843859`,`3054692`,`4147628`,859750,701221,676133,760085},{425091,`4148765`,424819,`2984628`,`2996821`,`1010183`,423475},{`2843859`+`16310739`,`3054692`+`6788207`,`4147628`+`4823504`,859750+`7331121`,701221+`4161453`,676133+`1290441`,760085+`6826576`},{425091+`1413129`,`4148765`+`9414769`,424819+`1356025`,`2984628`+`6483212`,`2996821`+`6484830`,`1010183`+`6283740`,423475+`1511658`}},{"e4m3","1x8192x2048",2,{207537,`2997268`,215074,219009,421459,209282,211601},{187841,245585,`3940619`,634292,104481,116961,173265},{207537+`5026947`,`2997268`+`6586125`,215074+`13030664`,219009+`7502771`,421459+`13526800`,209282+331314,211601+`3824219`},{187841+`3612681`,245585+`9728147`,`3940619`+`5146259`,634292+`8449145`,104481+511412,116961+577284,173265+342771}},{"bf16","512x2048x4096",2,{`1701596`,`1795788`,`2147854`,`2998180`,`1808300`,`1830557`},{420371,`3001157`,`2968516`,738757,`3119814`,`1896141`},{`1701596`+440019,`1795788`+`3731273`,`2147854`+`3876987`,`2998180`+`9484496`,`1808300`+534452,`1830557`+888902},{420371+`8866878`,`3001157`+`9458257`,`2968516`+`9400592`,738757+`3666297`,`3119814`+880054,`1896141`+`1683980`}},{"e4m3","3000x5000x700",0,{`2985317`,`2999604`,`2880276`,`2997589`,`2767220`,`3390823`},{`3518873`,`2997204`,`1765004`,`2996788`,`4037868`,`1893149`,`3021300`},{`2985317`+`5891049`,`2999604`+`6705902`,`2880276`+`13383547`,`2997589`+`10241688`,`2767220`+220097,`3390823`+703317},{`3518873`+`3889115`,`2997204`+`9606370`,`1765004`+423747,`2996788`+`5872840`,`4037868`+`5913017`,`1893149`+717973,`3021300`+`16713299`}},{"bf16","8192x64x8192",0,{`2998501`,`1424106`,`2582674`,`1385177`,`1408026`,`1674203`,`7350467`},{847990,`3016005`,`2993716`,`2991236`,859190,`2985445`},{`2998501`+`12240326`,`1424106`+`9614690`,`2582674`+`3408087`,`1385177`+`6416747`,`1408026`+`4964355`,`1674203`+`2434529`,`7350467`+`2277616`},{847990+`6084762`,`3016005`+`9291136`,`2993716`+`16212110`,`2991236`+`14484882`,859190+`3457832`,`2985445`+`7258019`}},{"bf16","512x8192x2048",2,{`3109494`,`2998148`,`3217910`,`2849812`,`4066477`,`3294903`,`3129990`},{`2987268`,`2988644`,`2784019`,`2962372`,`3770778`,946695,`3266487`},{`3109494`+`16209713`,`2998148`+`7617492`,`3217910`+`6327419`,`2849812`+680676,`4066477`+`4710401`,`3294903`+530980,`3129990`+452707},{`2987268`+`5599047`,`2988644`+`6290459`,`2784019`+536291,`2962372`+`4966482`,`3770778`+`1481082`,946695+`7199506`,`3266487`+`3882874`}},{"bf16","16x12288x2048",2,{776102,`2015806`,`2997972`,436835,645972,576244,626756},{525588,`3256775`,`2103822`,330290,`3558665`,319954},{776102+`6158139`,`2015806`+`7306178`,`2997972`+`11655584`,436835+`1232313`,645972+`8248743`,576244+`1348825`,626756+`3833451`},{525588+`12115747`,`3256775`+`3895339`,`2103822`+`6768862`,330290+`5529974`,`3558665`+`15911791`,319954+966759}},{"bf16","2048x2048x4096",2,{`8417387`,`6309019`,`6003497`,`7786037`,`6570670`,`6376652`},{`1151496`,`3007108`,`1338393`,`3029413`,`3009845`,`1143816`,`1494314`},{`8417387`+`14001618`,`6309019`+`9102206`,`6003497`+`9857139`,`7786037`+`4253660`,`6570670`+`5919914`,`6376652`+`3716809`},{`1151496`+`4577264`,`3007108`+`6253371`,`1338393`+730869,`3029413`+`8755275`,`3009845`+`6550701`,`1143816`+798549,`1494314`+`8310681`}},{"e4m3","64x8192x8192",0,{`1058807`,826213,`12695686`,708420,`3585193`,`1028263`,799717},{382963,421107,`3665993`,`2998836`,`2998885`,726645,417922},{`1058807`+`14712375`,826213+`6712670`,`12695686`+`14601827`,708420+`1845277`,`3585193`+`4839090`,`1028263`+`3798058`,799717+`1753532`},{382963+`10810619`,421107+`6658270`,`3665993`+`4057595`,`2998836`+`6549180`,`2998885`+`6640046`,726645+`1718011`,417922+`8455499`}},{"bf16","64x8192x8192",0,{`1617596`,`2019406`,`1649436`,`1719547`,`1569003`,`1999486`,`1494634`},{745333,`2998645`,`2025165`,730613,`3485176`,699925,819989},{`1617596`+`14173203`,`2019406`+`9023422`,`1649436`+`17590439`,`1719547`+`2820915`,`1569003`+`3114278`,`1999486`+`3481816`,`1494634`+`6017849`},{745333+`2635347`,`2998645`+`6442012`,`2025165`+`12182083`,730613+`7753332`,`3485176`+`5979994`,699925+`6177707`,819989+`2547922`}},{"e4m3","2048x12288x2048",2,{`8148201`,`8110839`,`8118472`,`8079590`,`7979481`,`8973582`,`8267272`},{`5998041`,`3236726`,`5937256`,`5997417`,`3202934`,`3285335`,`4208221`},{`8148201`+608244,`8110839`+`18263917`,`8118472`+`6729981`,`8079590`+`2051198`,`7979481`+`18093904`,`8973582`+717061,`8267272`+565172},{`5998041`+`6684350`,`3236726`+`2092079`,`5937256`+`8520522`,`5997417`+`12327155`,`3202934`+`5526775`,`3285335`+`13333229`,`4208221`+`4954962`}},{"bf16","1x8192x2048",2,{322754,803862,275122,317346,`2181311`,290914,379218},{104449,104305,327314,321266,`3207734`,234353},{322754+`7769894`,803862+`8156119`,275122+`4157612`,317346+`6473227`,`2181311`+`9285982`,290914+`3044293`,379218+`1112792`},{104449+528516,104305+`2424993`,327314+`10092677`,321266+`1395002`,`3207734`+`4257694`,234353+`4128205`}},{"bf16","64x2048x512",2,{`2999253`,`4007388`,`1723708`,114177,107264,105281,125153},{178193,`2615810`,113776,345858,`2999669`,113760,297490},{`2999253`+`6839920`,`4007388`+`6648957`,`1723708`+`4232492`,114177+304194,107264+`1393530`,105281+`1323481`,125153+`3802602`},{178193+`1528427`,`2615810`+`3736922`,113776+`3828314`,345858+`4972962`,`2999669`+`6094379`,113760+417059,297490+`6761039`}},{"e4m3","64x1024x2048",2,{`2916596`,`2637234`,`2996069`,112049,104416,105713,107473},{215218,152945,`2993268`,122065,107281,`1152184`},{`2916596`+`5690280`,`2637234`+`4072620`,`2996069`+`5807991`,112049+`9782162`,104416+325187,105713+920310,107473+225266},{215218+811781,152945+`4027436`,`2993268`+`5975689`,122065+`1021223`,107281+333954,`1152184`+`6008090`}}}; 2 ceil = <|"bf16" -> 119.66, "e4m3" -> 239.05|>; 3 flop[s_] := 2 Times @@ ToExpression[StringSplit[s, "x"]]; 4 verdict[a_, b_] := Module[{r = Median[b]/Median[a]}, Which[r <= 0.95 && Max[b] < Min[a], "FASTER", r >= 1.05 && Min[b] > Max[a], "REGRESSION", True, "NO CHANGE"]]; 5 rows = Map[Function[c, Module[{t = c[[1]], s = c[[2]], a = N[c[[4]]], b = N[c[[5]]], ap = N[c[[6]]], bp = N[c[[7]]]}, 6 {t, s, c[[3]], Length[a], Length[b], 7 Round[Median[a]/10^3, 0.1], Round[Median[b]/10^3, 0.1], Round[Median[b]/Median[a], 0.001], verdict[a, b], 8 Round[flop[s]/Median[a]/1000, 0.01], Round[flop[s]/Median[b]/1000, 0.01], Round[flop[s]/Median[b]/1000/ceil[t], 0.0001], 9 Round[Median[bp]/Median[ap], 0.001], verdict[ap, bp], Round[flop[s]/Median[bp]/1000, 0.01], 10 Round[{Min[a], Max[a], Min[b], Max[b]}/10^3, 0.1]}]], data]; 11 Print[ExportString[rows, "TSV"]]; 12 Print["geomean r main = ", GeometricMean[N[Median[#[[5]]]/Median[#[[4]]]] & /@ data]]; 13 Print["geomean r main+pack = ", GeometricMean[N[Median[#[[7]]]/Median[#[[6]]]] & /@ data]]; 14 Print["counts main ", Counts[rows[[All, 9]]], " main+pack ", Counts[rows[[All, 14]]]];