@@ -203,21 +203,21 @@ function main() {
203203 'row-major'
204204 ] ;
205205 f = createBenchmark1 ( shapes [ 0 ] , orders [ 0 ] , shapes [ 1 ] , orders [ 1 ] , shapes [ 2 ] , orders [ 2 ] ) ;
206- bench ( format ( '%s::stdlib:blas/base/sgemm:dtype=%s,orders=(%s),size=%d,shapes={(%s),(%s),(%s)}' , OPTS . dtype , pkg , orders . join ( ',' ) , numel ( shapes [ 2 ] ) , shapes [ 0 ] . join ( ',' ) , shapes [ 1 ] . join ( ',' ) , shapes [ 2 ] . join ( ',' ) ) , f ) ;
206+ bench ( format ( '%s::stdlib:blas/base/sgemm:dtype=%s,orders=(%s),size=%d,shapes={(%s),(%s),(%s)}' , pkg , OPTS . dtype , orders . join ( ',' ) , numel ( shapes [ 2 ] ) , shapes [ 0 ] . join ( ',' ) , shapes [ 1 ] . join ( ',' ) , shapes [ 2 ] . join ( ',' ) ) , f ) ;
207207
208208 f = createBenchmark2 ( shapes [ 0 ] , orders [ 0 ] , shapes [ 1 ] , orders [ 1 ] , shapes [ 2 ] , orders [ 2 ] ) ;
209- bench ( format ( '%s::scijs:ndarray-gemm:dtype=%s,orders=(%s),size=%d,shapes={(%s),(%s),(%s)}' , OPTS . dtype , pkg , orders . join ( ',' ) , numel ( shapes [ 2 ] ) , shapes [ 0 ] . join ( ',' ) , shapes [ 1 ] . join ( ',' ) , shapes [ 2 ] . join ( ',' ) ) , opts , f ) ;
209+ bench ( format ( '%s::scijs:ndarray-gemm:dtype=%s,orders=(%s),size=%d,shapes={(%s),(%s),(%s)}' , pkg , OPTS . dtype , orders . join ( ',' ) , numel ( shapes [ 2 ] ) , shapes [ 0 ] . join ( ',' ) , shapes [ 1 ] . join ( ',' ) , shapes [ 2 ] . join ( ',' ) ) , opts , f ) ;
210210
211211 orders = [
212212 'row-major' ,
213213 'column-major' ,
214214 'row-major'
215215 ] ;
216216 f = createBenchmark1 ( shapes [ 0 ] , orders [ 0 ] , shapes [ 1 ] , orders [ 1 ] , shapes [ 2 ] , orders [ 2 ] ) ;
217- bench ( format ( '%s::stdlib:blas/base/sgemm:dtype=%s,orders=(%s),size=%d,shapes={(%s),(%s),(%s)}' , OPTS . dtype , pkg , orders . join ( ',' ) , numel ( shapes [ 2 ] ) , shapes [ 0 ] . join ( ',' ) , shapes [ 1 ] . join ( ',' ) , shapes [ 2 ] . join ( ',' ) ) , f ) ;
217+ bench ( format ( '%s::stdlib:blas/base/sgemm:dtype=%s,orders=(%s),size=%d,shapes={(%s),(%s),(%s)}' , pkg , OPTS . dtype , orders . join ( ',' ) , numel ( shapes [ 2 ] ) , shapes [ 0 ] . join ( ',' ) , shapes [ 1 ] . join ( ',' ) , shapes [ 2 ] . join ( ',' ) ) , f ) ;
218218
219219 f = createBenchmark2 ( shapes [ 0 ] , orders [ 0 ] , shapes [ 1 ] , orders [ 1 ] , shapes [ 2 ] , orders [ 2 ] ) ;
220- bench ( format ( '%s::scijs:ndarray-gemm:dtype=%s,orders=(%s),size=%d,shapes={(%s),(%s),(%s)}' , OPTS . dtype , pkg , orders . join ( ',' ) , numel ( shapes [ 2 ] ) , shapes [ 0 ] . join ( ',' ) , shapes [ 1 ] . join ( ',' ) , shapes [ 2 ] . join ( ',' ) ) , opts , f ) ;
220+ bench ( format ( '%s::scijs:ndarray-gemm:dtype=%s,orders=(%s),size=%d,shapes={(%s),(%s),(%s)}' , pkg , OPTS . dtype , orders . join ( ',' ) , numel ( shapes [ 2 ] ) , shapes [ 0 ] . join ( ',' ) , shapes [ 1 ] . join ( ',' ) , shapes [ 2 ] . join ( ',' ) ) , opts , f ) ;
221221 }
222222}
223223
0 commit comments