@@ -33,14 +33,14 @@ BenchmarkTools.DEFAULT_PARAMETERS.samples = 10
3333BenchmarkTools. DEFAULT_PARAMETERS. seconds = 60
3434
3535# Change this to change the size of the dense RHS of csrtimesfull and csctimesfull
36- const sizefullrhs = [1 ,2 ,20 ]
36+ const sizefullrhs = [1 ,2 ,4 ]
3737
3838
3939const suite = BenchmarkGroup ()
4040const ssmc = ssmc_db ()
4141
4242function AxB_allbycol (S, G, nthreads, sizerhs)
43- printstyled (" \n CSC = CSC * Full\n " , color= :green )
43+ printstyled (" \n METHOD: CSC = CSC * Full\n " , color= :green )
4444 GC. gc ()
4545 m = rand (size (S, 2 ), sizerhs)
4646 m2 = GBMatrix (m)
@@ -74,7 +74,7 @@ function AxB_allbycol(S, G, nthreads, sizerhs)
7474end
7575
7676function AxB_allbyrow (S, G, nthreads, sizerhs)
77- printstyled (" \n CSR = CSR * Full\n " , color= :green )
77+ printstyled (" \n METHOD: CSR = CSR * Full\n " , color= :green )
7878 GC. gc ()
7979 m = rand (size (S, 2 ), sizerhs)
8080 m2 = GBMatrix (m)
@@ -104,7 +104,7 @@ function AxB_allbyrow(S, G, nthreads, sizerhs)
104104end
105105
106106function AxB_ColxRow (S, G, nthreads, sizerhs)
107- printstyled (" \n ByRow = CSC * Full_byrow\n " , color= :green )
107+ printstyled (" \n METHOD: ByRow = CSC * Full_byrow\n " , color= :green )
108108 GC. gc ()
109109 m = rand (size (S, 2 ), sizerhs)
110110 m2 = GBMatrix (m)
@@ -136,7 +136,7 @@ function AxB_ColxRow(S, G, nthreads, sizerhs)
136136end
137137
138138function CaccumAxB_allbycol (S, G, nthreads, sizerhs)
139- printstyled (" \n Full += CSC * Full\n " , color= :green )
139+ printstyled (" \n METHOD: Full += CSC * Full\n " , color= :green )
140140 GC. gc ()
141141 m = rand (size (S, 2 ), sizerhs)
142142 m2 = GBMatrix (m)
@@ -172,7 +172,7 @@ function CaccumAxB_allbycol(S, G, nthreads, sizerhs)
172172end
173173
174174function CaccumAxB_allbyrow (S, G, nthreads, sizerhs)
175- printstyled (" \n Full_byrow += CSR * Full_byrow\n " , color= :green )
175+ printstyled (" \n METHOD: Full_byrow += CSR * Full_byrow\n " , color= :green )
176176 GC. gc ()
177177 m = rand (size (S, 2 ), sizerhs)
178178 m2 = GBMatrix (m)
@@ -207,7 +207,7 @@ function CaccumAxB_allbyrow(S, G, nthreads, sizerhs)
207207end
208208
209209function CaccumAxB_CRC (S, G, nthreads, sizerhs)
210- printstyled (" \n Full_bycol += CSR * Full_bycol\n " , color= :green )
210+ printstyled (" \n METHOD: Full_bycol += CSR * Full_bycol\n " , color= :green )
211211 GC. gc ()
212212 m = rand (size (S, 2 ), sizerhs)
213213 m2 = GBMatrix (m)
@@ -272,9 +272,11 @@ function singlebench(pathornum)
272272 G = GBMatrix (S)
273273 gbset (G, :format , :byrow )
274274 diag (G)
275+ printstyled (" \n #################################################################################\n " ; bold= true , color= :green )
275276 printstyled (" Benchmarking $name :\n " ; bold= true , color= :green )
277+ printstyled (" #################################################################################\n " ; bold= true , color= :green )
276278 for i ∈ sizefullrhs
277- printstyled (" \n Using a size $i B matrix" ; bold= true , color= :red )
279+ printstyled (" \n ================================================================================= $name : Using a size $i B matrix" ; bold= true , color= :green )
278280 for f ∈ functorun
279281 f (S, G, threadlist, i)
280282 end
0 commit comments