From e012d5a4c34227da852d72881d9c6d64151738bb Mon Sep 17 00:00:00 2001 From: Bruno Manuel Santos Saraiva Date: Tue, 7 Jan 2025 10:35:06 +0000 Subject: [PATCH] updated default convolution benchmarks --- .../_le_convolution/Convolution.yml | 655 +++++++++++------- 1 file changed, 402 insertions(+), 253 deletions(-) diff --git a/src/liquid_benchmarks/_le_convolution/Convolution.yml b/src/liquid_benchmarks/_le_convolution/Convolution.yml index 1c3a22a0..2e07b907 100644 --- a/src/liquid_benchmarks/_le_convolution/Convolution.yml +++ b/src/liquid_benchmarks/_le_convolution/Convolution.yml @@ -1,253 +1,402 @@ -Cuda: - (['shape(100, 100)', 'shape(23, 23)'], {}): - - 5290000 - - 0.0004861999999974387 - - 0.0004765000000048758 - - 0.0005771999999950594 - - 0.0005721999999934724 - - 0.000567799999998897 - - 0.0006681000000128279 - - 0.000661499999992543 - - 0.0005757000000130574 - - 0.0006657999999788444 - - 0.0005798999999910848 - - 0.0004781999999750042 - - 0.00047010000000113905 - - 0.00047449999999571446 - - 0.00047190000000796317 - - 0.0006011000000114564 - - 0.0004743000000075881 - - 0.00046619999997687955 - - 0.00048490000000356304 - - 0.00047459999998977764 - - 0.0004846000000213735 -Dask: - (['shape(100, 100)', 'shape(23, 23)'], {}): - - 5290000 - - 0.00937319999999886 - - 0.00935059999999055 - - 0.009022200000003977 - - 0.009296300000002589 - - 0.009107200000002535 - - 0.009022600000008651 - - 0.00864400000000387 - - 0.009106899999977713 - - 0.008994000000001279 - - 0.009187099999991233 - - 0.009005200000018476 - - 0.00908530000000951 - - 0.008979599999975107 - - 0.008942100000012942 - - 0.009448300000002519 - - 0.009121399999997948 - - 0.009081800000018347 - - 0.009091900000015585 - - 0.009444899999976997 - - 0.008983199999988756 -Numba: - (['shape(100, 100)', 'shape(23, 23)'], {}): - - 5290000 - - 0.005503999999987741 - - 0.005404399999989096 - - 0.005541299999990201 - - 0.006237099999992779 - - 0.0061522000000024946 - - 0.005667099999996594 - - 0.005524500000007038 - - 0.006125099999991335 - - 0.00555199999999445 - - 0.005549299999984214 - - 0.005432900000016616 - - 0.005515599999995402 - - 0.005588999999986299 - - 0.005590299999994386 - - 0.00559690000000046 - - 0.00611649999999031 - - 0.006142000000011194 - - 0.006182600000016691 - - 0.006126800000004096 - - 0.00559069999999906 -OpenCL: - (['shape(100, 100)', 'shape(23, 23)'], {}): - - 5290000 - - 0.09695740000000796 - - 0.0791657999999984 - - 0.076722100000012 - - 0.08188470000000336 - - 0.0807978999999932 - - 0.07978299999999194 - - 0.07810859999999309 - - 0.08245510000000422 - - 0.07759999999998968 - - 0.08255289999999604 - - 0.07958520000002522 - - 0.0765146000000243 - - 0.07599870000001374 - - 0.08619039999999245 - - 0.07968999999999937 - - 0.08378940000000057 - - 0.08134540000000356 - - 0.0747381000000189 - - 0.07781260000001566 - - 0.07502910000002316 -Python: - (['shape(100, 100)', 'shape(23, 23)'], {}): - - 5290000 - - 2.4462038000000064 - - 2.4630003999999985 - - 2.4720575999999994 - - 2.4287114000000116 - - 2.401114899999996 - - 2.398159700000008 - - 2.420540200000005 - - 2.4157763000000045 - - 2.3961491000000024 - - 2.3970270000000085 - - 2.411539900000008 - - 2.4112620999999876 - - 2.4262410000000045 - - 2.5178038000000242 - - 2.416882700000002 - - 2.4262166999999977 - - 2.3842162999999914 - - 2.403599299999996 - - 2.3908779999999865 - - 2.423667199999983 -Threaded: - (['shape(100, 100)', 'shape(23, 23)'], {}): - - 5290000 - - 0.000824199999996722 - - 0.0008181999999976597 - - 0.0008927000000085172 - - 0.0007808000000011361 - - 0.0007329000000027008 - - 0.000717399999999202 - - 0.0006948999999991656 - - 0.0007979000000091219 - - 0.0009400000000141517 - - 0.0007444000000020878 - - 0.0006537999999807198 - - 0.000720599999993965 - - 0.0006946999999968284 - - 0.0007152000000019143 - - 0.0007224000000007891 - - 0.0007832000000007611 - - 0.0008651999999926829 - - 0.0008751000000017939 - - 0.0007410999999990509 - - 0.00074050000000625 -Threaded_dynamic: - (['shape(100, 100)', 'shape(23, 23)'], {}): - - 5290000 - - 0.0004450999999932037 - - 0.00044110000000330274 - - 0.00044249999999124157 - - 0.0004300999999884425 - - 0.00043420000000082837 - - 0.00045580000001166354 - - 0.00046600000000296404 - - 0.0004598999999956277 - - 0.0004718000000139 - - 0.0004284000000041033 - - 0.00042870000001471453 - - 0.00042910000001938897 - - 0.00046760000000745094 - - 0.00042919999998503044 - - 0.0004453999999896041 - - 0.00042870000001471453 - - 0.00043439999998895473 - - 0.00043619999999577885 - - 0.00042849999999816646 - - 0.00042849999999816646 -Threaded_guided: - (['shape(100, 100)', 'shape(23, 23)'], {}): - - 5290000 - - 0.00045450000000357704 - - 0.0004828000000003385 - - 0.0004557999999974527 - - 0.0005386999999927866 - - 0.0004533000000037646 - - 0.00046030000000030213 - - 0.0004532000000097014 - - 0.00045289999999909014 - - 0.0005904999999870597 - - 0.0004531000000156382 - - 0.0004533000000037646 - - 0.0004532000000097014 - - 0.0004530999999872165 - - 0.0004863999999997759 - - 0.000618000000002894 - - 0.00045529999999871507 - - 0.0005139999999812517 - - 0.00046000000000390173 - - 0.0004787000000021635 - - 0.000453700000008439 -Threaded_static: - (['shape(100, 100)', 'shape(23, 23)'], {}): - - 5290000 - - 0.0004264999999890051 - - 0.0006580000000013797 - - 0.0006530999999938558 - - 0.00042460000000232867 - - 0.0004251000000010663 - - 0.0006330999999875075 - - 0.0006358999999918069 - - 0.0005993999999986954 - - 0.0006390000000067175 - - 0.00048030000002086126 - - 0.00048409999999421416 - - 0.0005371000000025106 - - 0.00042590000001041517 - - 0.000461000000001377 - - 0.00043489999998769235 - - 0.0004428000000018528 - - 0.00046629999999936445 - - 0.0005366999999978361 - - 0.00047909999997841624 - - 0.0004892999999981384 -Transonic: - (['shape(100, 100)', 'shape(23, 23)'], {}): - - 5290000 - - 0.005411799999990308 - - 0.00537510000000907 - - 0.004832300000003897 - - 0.005378100000001496 - - 0.005715300000005641 - - 0.005380299999998783 - - 0.005360899999999447 - - 0.0055118999999876905 - - 0.005359400000003234 - - 0.005501900000012938 - - 0.005407999999988533 - - 0.0053805000000011205 - - 0.005373299999973824 - - 0.005368600000025481 - - 0.005419100000011667 - - 0.005426599999992732 - - 0.005388500000009344 - - 0.005360599999988835 - - 0.005397600000009106 - - 0.005529200000012224 -Unthreaded: - (['shape(100, 100)', 'shape(23, 23)'], {}): - - 5290000 - - 0.006530499999996664 - - 0.0064456000000063796 - - 0.006636400000004983 - - 0.00655410000000245 - - 0.006507300000009764 - - 0.006322599999990075 - - 0.005110299999998347 - - 0.0065136999999992895 - - 0.006442200000009279 - - 0.006571699999994962 - - 0.006469800000019177 - - 0.006566800000001649 - - 0.0067801000000144995 - - 0.006570600000003424 - - 0.00611449999999536 - - 0.0065632000000164226 - - 0.006535500000012462 - - 0.006474900000000616 - - 0.006520699999981616 - - 0.006534499999986565 +dask: + (['shape(100, 100)', 'shape(5, 5)'], {}): + - 250000 + - 0.004245040996465832 + - 0.0027499170100782067 + - 0.0025446669897064567 + - 0.0027832080086227506 + - 0.0024872090143617243 + - 0.0028712089988403022 +njit: + (['shape(100, 100)', 'shape(5, 5)'], {}): + - 250000 + - 0.968093333998695 + - 0.00033058400731533766 + - 0.0003509590169414878 + - 0.0003429999924264848 + - 0.0003313750203233212 + - 0.00041441700886934996 +opencl: + (['shape(100, 100)', 'shape(5, 5)'], {}): + - 250000 + - 0.030612542002927512 + - 0.0035419999912846833 + - 0.003779541002586484 + - 0.0040915830177254975 + - 0.004292875004466623 + - 0.0043062500189989805 + (['shape(300, 300)', 'shape(1, 401)'], {}): + - 36090000 + - 0.009628083003917709 + - 0.00919737498043105 + - 0.006101334001868963 + - 0.006464792008046061 + - 0.0062911660061217844 + - 0.006253999978071079 + - 0.00602387500111945 + - 0.006411124981241301 + - 0.0062039580079726875 + - 0.007546542008640245 + - 0.010221458011073992 + - 0.006577542022569105 + - 0.006374791992129758 + - 0.03425258299103007 + - 0.006536791013786569 + - 0.006469332991400734 + - 0.006359167018672451 + - 0.00631674999021925 + - 0.006752916000550613 + - 0.00643583299824968 + - 0.006824957992648706 + - 0.006272250000620261 + - 0.006701708975015208 + - 0.0058263749815523624 + (['shape(300, 300)', 'shape(401, 1)'], {}): + - 36090000 + - 0.008036417013499886 + - 0.017739832983352244 + - 0.006397624994860962 + - 0.006586540985153988 + - 0.006152707996079698 + - 0.006520958006149158 + - 0.006713084003422409 + - 0.006408167013432831 + - 0.006886417017085478 + - 0.007713917002547532 + - 0.007080750016029924 + - 0.0068760830035898834 + - 0.006768624996766448 + - 0.006392916984623298 + - 0.008157707983627915 + - 0.006571541976882145 + - 0.0062550000147894025 + - 0.006861208006739616 + - 0.007957708003232256 + - 0.006712416012305766 + - 0.0062731250072829425 + - 0.0066864579857792705 + - 0.007143750000977889 + - 0.006250709004234523 +python: + (['shape(100, 100)', 'shape(5, 5)'], {}): + - 250000 + - 0.1477831249940209 + - 0.14611758300452493 + - 0.14522112501435913 + - 0.14452637499198318 + - 0.14893645799020305 + - 0.18377179201343097 +threaded: + (['shape(100, 100)', 'shape(5, 5)'], {}): + - 250000 + - 0.00021191700943745673 + - 0.00020366700482554734 + - 0.0002037090016528964 + - 0.00019225000869482756 + - 0.00020050001330673695 + - 0.00019600000814534724 + (['shape(300, 300)', 'shape(1, 401)'], {}): + - 36090000 + - 0.040953416988486424 + - 0.040895041020121425 + - 0.042563750001136214 + - 0.04152862500632182 + - 0.041433375008637086 + - 0.04153937500086613 + - 0.04116275001433678 + - 0.04143508299603127 + - 0.041867249994538724 + - 0.040787208010442555 + - 0.04117333301110193 + - 0.04197387502063066 + - 0.04126700002234429 + - 0.04132129199570045 + - 0.04107791601563804 + - 0.041331165994051844 + - 0.040750957996351644 + - 0.04083758298656903 + - 0.04079029100830667 + - 0.041290624998509884 + - 0.04096195800229907 + - 0.042074875003891066 + - 0.04196654201950878 + - 0.04144645802443847 + (['shape(300, 300)', 'shape(401, 1)'], {}): + - 36090000 + - 0.04394683300051838 + - 0.04390045799664222 + - 0.04548887501005083 + - 0.043803540989756584 + - 0.044978166988585144 + - 0.045012749993475154 + - 0.04464870900847018 + - 0.046746375010116026 + - 0.04471733400714584 + - 0.047122999996645376 + - 0.04406524999649264 + - 0.045097416994394735 + - 0.04396458299015649 + - 0.04663187501137145 + - 0.04402808300801553 + - 0.045590249996166676 + - 0.04404400000930764 + - 0.047002999985124916 + - 0.044821874995250255 + - 0.045208249997813255 + - 0.0441583750071004 + - 0.04495791599038057 + - 0.045830874994862825 + - 0.04582525001023896 +threaded_dynamic: + (['shape(100, 100)', 'shape(5, 5)'], {}): + - 250000 + - 0.00018612499115988612 + - 0.00018641698989085853 + - 0.000186040997505188 + - 0.0001901669893413782 + - 0.0002000840031541884 + - 0.00018962501781061292 + (['shape(300, 300)', 'shape(1, 401)'], {}): + - 36090000 + - 0.04095366699039005 + - 0.040892082994105294 + - 0.04081266699358821 + - 0.0411677090160083 + - 0.04183916701003909 + - 0.0410908339836169 + - 0.041215082979761064 + - 0.04870212500100024 + - 0.042778790986631066 + - 0.041344166005728766 + - 0.04121179200592451 + - 0.04137854199507274 + - 0.04102091598906554 + - 0.04779033301747404 + - 0.04093791701598093 + - 0.041265959007432684 + - 0.04087404199526645 + - 0.0408867500082124 + - 0.04132766599650495 + - 0.041024250007467344 + - 0.04339199999230914 + - 0.04120074998354539 + - 0.04121183298411779 + - 0.04108429199550301 + (['shape(300, 300)', 'shape(401, 1)'], {}): + - 36090000 + - 0.044591750018298626 + - 0.04423554099048488 + - 0.04406570800347254 + - 0.04422074998728931 + - 0.04450083299889229 + - 0.04571841700817458 + - 0.043989375000819564 + - 0.046089124982245266 + - 0.04708654200658202 + - 0.04542887498973869 + - 0.04457320898654871 + - 0.04566404200159013 + - 0.044104250002419576 + - 0.052727250003954396 + - 0.045144125004298985 + - 0.04536816698964685 + - 0.04409633300383575 + - 0.0457834160188213 + - 0.04407800000626594 + - 0.0774512079951819 + - 0.06165412499103695 + - 0.04710583301493898 + - 0.04465879200142808 + - 0.045908457977930084 +threaded_guided: + (['shape(100, 100)', 'shape(5, 5)'], {}): + - 250000 + - 0.00018350000027567148 + - 0.00018575001740828156 + - 0.00018549998640082777 + - 0.00019991601584479213 + - 0.00019904098007827997 + - 0.00020045801647938788 + (['shape(300, 300)', 'shape(1, 401)'], {}): + - 36090000 + - 0.041228832997148857 + - 0.04089633299736306 + - 0.045863958017434925 + - 0.04425520802033134 + - 0.04139808300533332 + - 0.04106012498959899 + - 0.0415493750188034 + - 0.04349779200856574 + - 0.04132112499792129 + - 0.041404958989005536 + - 0.04150220801238902 + - 0.04136979201575741 + - 0.04111666599055752 + - 0.04103675001533702 + - 0.04123987499042414 + - 0.04105087500647642 + - 0.042467458988539875 + - 0.04131087500718422 + - 0.04084812497603707 + - 0.04082666599424556 + - 0.04112599999643862 + - 0.042013792000943795 + - 0.04289795798831619 + - 0.04132345801917836 + (['shape(300, 300)', 'shape(401, 1)'], {}): + - 36090000 + - 0.044587874988792464 + - 0.044073040975490585 + - 0.04947704199003056 + - 0.069952916004695 + - 0.04490416598855518 + - 0.046489833999658 + - 0.04469174999394454 + - 0.054168625007150695 + - 0.04419879100169055 + - 0.050896542001282796 + - 0.048755416995845735 + - 0.045562832994619384 + - 0.04371749999700114 + - 0.04504349999479018 + - 0.043974041007459164 + - 0.04502841699286364 + - 0.045108792022801936 + - 0.04550462498445995 + - 0.04400512500433251 + - 0.045205207978142425 + - 0.0440997910045553 + - 0.04830045800190419 + - 0.045387707999907434 + - 0.044697916979203 +threaded_static: + (['shape(100, 100)', 'shape(5, 5)'], {}): + - 250000 + - 0.00018766699940897524 + - 0.00018866598838940263 + - 0.00019316698308102787 + - 0.00018987501971423626 + - 0.0001908330013975501 + - 0.00021308299619704485 + (['shape(300, 300)', 'shape(1, 401)'], {}): + - 36090000 + - 0.04387345799477771 + - 0.043327083985786885 + - 0.04146470798877999 + - 0.04109237500233576 + - 0.04118808300700039 + - 0.041587790998164564 + - 0.04106079202028923 + - 0.0415304169873707 + - 0.04148112499387935 + - 0.04137791701941751 + - 0.04100583301624283 + - 0.04133645800175145 + - 0.04111958300927654 + - 0.04091725000762381 + - 0.04139612501603551 + - 0.04130566699313931 + - 0.040939708007499576 + - 0.041064874996664 + - 0.04102841697749682 + - 0.04114529100479558 + - 0.041186833987012506 + - 0.0412018749921117 + - 0.04106187500292435 + - 0.041050625004572794 + (['shape(300, 300)', 'shape(401, 1)'], {}): + - 36090000 + - 0.049282124993624166 + - 0.04801316701923497 + - 0.04678845897433348 + - 0.04552004099241458 + - 0.04463166699861176 + - 0.04512125000474043 + - 0.04430454099201597 + - 0.046013624989427626 + - 0.04411766599514522 + - 0.04540908301714808 + - 0.04441312499693595 + - 0.0450473339878954 + - 0.043935959023656324 + - 0.06609016601578332 + - 0.044062750006560236 + - 0.045603000005939975 + - 0.04413170900079422 + - 0.046836249995976686 + - 0.044061249995138496 + - 0.04527904200949706 + - 0.04411241601337679 + - 0.044036416977178305 + - 0.04405295799369924 + - 0.044328040996333584 +transonic: + (['shape(100, 100)', 'shape(5, 5)'], {}): + - 250000 + - 0.24364779199822806 + - 0.15275275000021793 + - 0.00024345898418687284 + - 0.00025891701807267964 + - 0.00024049999774433672 + - 0.0002495420048944652 +unthreaded: + (['shape(100, 100)', 'shape(5, 5)'], {}): + - 250000 + - 0.00020091698388569057 + - 0.0001940829970408231 + - 0.00019404198974370956 + - 0.00018999999156221747 + - 0.00019387502106837928 + - 0.00021133400150574744 + (['shape(300, 300)', 'shape(1, 401)'], {}): + - 36090000 + - 0.04790220901486464 + - 0.04117679098271765 + - 0.04472641699248925 + - 0.041534666990628466 + - 0.041719915985595435 + - 0.04244466597447172 + - 0.042689124995376915 + - 0.04304816699004732 + - 0.041301040997495875 + - 0.041086832992732525 + - 0.04104037501383573 + - 0.0412800410122145 + - 0.04102879198035225 + - 0.0411428329825867 + - 0.04140737501438707 + - 0.040942124993307516 + - 0.04068429098697379 + - 0.040862167021259665 + - 0.04077170800883323 + - 0.04084058300941251 + - 0.04098970798077062 + - 0.040913332981290296 + - 0.041699749999679625 + - 0.041253749979659915 + (['shape(300, 300)', 'shape(401, 1)'], {}): + - 36090000 + - 0.045010333007667214 + - 0.04552237497409806 + - 0.04468308400828391 + - 0.0467955409840215 + - 0.044280875008553267 + - 0.04656683301436715 + - 0.04570666601648554 + - 0.04684049999923445 + - 0.04359420802211389 + - 0.044760625023627654 + - 0.04400404202169739 + - 0.04644683300284669 + - 0.044209209008840844 + - 0.04664941699593328 + - 0.046476125018671155 + - 0.04532479200861417 + - 0.044178249983815476 + - 0.045932707987958565 + - 0.04396662500221282 + - 0.044989165995502844 + - 0.04426308401161805 + - 0.04394791598315351 + - 0.043940541974734515 + - 0.04533845899277367