gonum.org/v1/gonum@v0.14.0/blas/gonum/dgerbench_test.go (about) 1 // Copyright ©2015 The Gonum Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package gonum 6 7 import ( 8 "testing" 9 10 "gonum.org/v1/gonum/blas/testblas" 11 ) 12 13 func BenchmarkDgerSmSmInc1(b *testing.B) { 14 testblas.DgerBenchmark(b, impl, Sm, Sm, 1, 1) 15 } 16 17 func BenchmarkDgerSmSmIncN(b *testing.B) { 18 testblas.DgerBenchmark(b, impl, Sm, Sm, 2, 3) 19 } 20 21 func BenchmarkDgerMedMedInc1(b *testing.B) { 22 testblas.DgerBenchmark(b, impl, Med, Med, 1, 1) 23 } 24 25 func BenchmarkDgerMedMedIncN(b *testing.B) { 26 testblas.DgerBenchmark(b, impl, Med, Med, 2, 3) 27 } 28 29 func BenchmarkDgerLgLgInc1(b *testing.B) { 30 testblas.DgerBenchmark(b, impl, Lg, Lg, 1, 1) 31 } 32 33 func BenchmarkDgerLgLgIncN(b *testing.B) { 34 testblas.DgerBenchmark(b, impl, Lg, Lg, 2, 3) 35 } 36 37 func BenchmarkDgerLgSmInc1(b *testing.B) { 38 testblas.DgerBenchmark(b, impl, Lg, Sm, 1, 1) 39 } 40 41 func BenchmarkDgerLgSmIncN(b *testing.B) { 42 testblas.DgerBenchmark(b, impl, Lg, Sm, 2, 3) 43 } 44 45 func BenchmarkDgerSmLgInc1(b *testing.B) { 46 testblas.DgerBenchmark(b, impl, Sm, Lg, 1, 1) 47 } 48 49 func BenchmarkDgerSmLgIncN(b *testing.B) { 50 testblas.DgerBenchmark(b, impl, Sm, Lg, 2, 3) 51 }