-
Notifications
You must be signed in to change notification settings - Fork 5
/
dgemmbench_test.go
51 lines (38 loc) · 1.23 KB
/
dgemmbench_test.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// Copyright ©2014 The Gonum Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package netlib
import (
"testing"
"gonum.org/v1/gonum/blas/testblas"
)
func BenchmarkDgemmSmSmSm(b *testing.B) {
testblas.DgemmBenchmark(b, impl, Sm, Sm, Sm, NT, NT)
}
func BenchmarkDgemmMedMedMed(b *testing.B) {
testblas.DgemmBenchmark(b, impl, Med, Med, Med, NT, NT)
}
func BenchmarkDgemmMedLgMed(b *testing.B) {
testblas.DgemmBenchmark(b, impl, Med, Lg, Med, NT, NT)
}
func BenchmarkDgemmLgLgLg(b *testing.B) {
testblas.DgemmBenchmark(b, impl, Lg, Lg, Lg, NT, NT)
}
func BenchmarkDgemmLgSmLg(b *testing.B) {
testblas.DgemmBenchmark(b, impl, Lg, Sm, Lg, NT, NT)
}
func BenchmarkDgemmLgLgSm(b *testing.B) {
testblas.DgemmBenchmark(b, impl, Lg, Lg, Sm, NT, NT)
}
func BenchmarkDgemmHgHgSm(b *testing.B) {
testblas.DgemmBenchmark(b, impl, Hg, Hg, Sm, NT, NT)
}
func BenchmarkDgemmMedMedMedTNT(b *testing.B) {
testblas.DgemmBenchmark(b, impl, Med, Med, Med, T, NT)
}
func BenchmarkDgemmMedMedMedNTT(b *testing.B) {
testblas.DgemmBenchmark(b, impl, Med, Med, Med, NT, T)
}
func BenchmarkDgemmMedMedMedTT(b *testing.B) {
testblas.DgemmBenchmark(b, impl, Med, Med, Med, T, T)
}