blas: fix documentation of Use functions

This was noticed while adapting JuliaLang/Microbenchmarks#27 to the new
Gonum import paths.
This CL somewhat clarifies the correct default implementation (pure-Go)
used by the various blas{32,64} and cblas{64,128} packages.
This commit is contained in:
Sebastien Binet
2018-08-06 10:00:12 +02:00
parent 73ea1e7329
commit f4b55da7ee
4 changed files with 8 additions and 4 deletions

View File

@@ -12,7 +12,8 @@ import (
var blas64 blas.Float64 = gonum.Implementation{}
// Use sets the BLAS float64 implementation to be used by subsequent BLAS calls.
// The default implementation is native.Implementation.
// The default implementation is
// gonum.org/v1/gonum/blas/gonum.Implementation.
func Use(b blas.Float64) {
blas64 = b
}