@@ -33,14 +33,14 @@ BenchmarkTools.DEFAULT_PARAMETERS.samples = 10
33
33
BenchmarkTools. DEFAULT_PARAMETERS. seconds = 60
34
34
35
35
# 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 ]
37
37
38
38
39
39
const suite = BenchmarkGroup ()
40
40
const ssmc = ssmc_db ()
41
41
42
42
function 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 )
44
44
GC. gc ()
45
45
m = rand (size (S, 2 ), sizerhs)
46
46
m2 = GBMatrix (m)
@@ -74,7 +74,7 @@ function AxB_allbycol(S, G, nthreads, sizerhs)
74
74
end
75
75
76
76
function 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 )
78
78
GC. gc ()
79
79
m = rand (size (S, 2 ), sizerhs)
80
80
m2 = GBMatrix (m)
@@ -104,7 +104,7 @@ function AxB_allbyrow(S, G, nthreads, sizerhs)
104
104
end
105
105
106
106
function 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 )
108
108
GC. gc ()
109
109
m = rand (size (S, 2 ), sizerhs)
110
110
m2 = GBMatrix (m)
@@ -136,7 +136,7 @@ function AxB_ColxRow(S, G, nthreads, sizerhs)
136
136
end
137
137
138
138
function 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 )
140
140
GC. gc ()
141
141
m = rand (size (S, 2 ), sizerhs)
142
142
m2 = GBMatrix (m)
@@ -172,7 +172,7 @@ function CaccumAxB_allbycol(S, G, nthreads, sizerhs)
172
172
end
173
173
174
174
function 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 )
176
176
GC. gc ()
177
177
m = rand (size (S, 2 ), sizerhs)
178
178
m2 = GBMatrix (m)
@@ -207,7 +207,7 @@ function CaccumAxB_allbyrow(S, G, nthreads, sizerhs)
207
207
end
208
208
209
209
function 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 )
211
211
GC. gc ()
212
212
m = rand (size (S, 2 ), sizerhs)
213
213
m2 = GBMatrix (m)
@@ -272,9 +272,11 @@ function singlebench(pathornum)
272
272
G = GBMatrix (S)
273
273
gbset (G, :format , :byrow )
274
274
diag (G)
275
+ printstyled (" \n #################################################################################\n " ; bold= true , color= :green )
275
276
printstyled (" Benchmarking $name :\n " ; bold= true , color= :green )
277
+ printstyled (" #################################################################################\n " ; bold= true , color= :green )
276
278
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 )
278
280
for f ∈ functorun
279
281
f (S, G, threadlist, i)
280
282
end
0 commit comments