testlapack,native,cgo: build Dgeev benchmark conditioned on go1.7 tag

This commit is contained in:
Vladimir Chalupecky
2016-10-25 22:52:56 +02:00
parent 0722c36a93
commit 50b349dace
6 changed files with 93 additions and 56 deletions

15
native/bench_test.go Normal file
View File

@@ -0,0 +1,15 @@
// Copyright ©2016 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.
// +build go1.7
package native
import (
"testing"
"github.com/gonum/lapack/testlapack"
)
func BenchmarkDgeev(b *testing.B) { testlapack.DgeevBenchmark(b, impl) }