Problems with blas/native

34 views
Skip to first unread message

Volker Dobler

unread,
Apr 25, 2016, 7:00:37 AM4/25/16
to gonum-dev
I'm experiencing problems with blas/native
while testing plot/plotter:

volker@vlinux ~/code/src/github.com/gonum/plot/plotter $ go test
../../blas/native/dgemm.go:303: too many arguments in call to asm.DaxpyUnitary

Everything should be up to date and at tip; compiling with Go 1.5.
Function signature really do differ.

Did I miss something obvious?

Thanks in advance for any help.

Volker

Dan Kortschak

unread,
Apr 25, 2016, 7:09:12 AM4/25/16
to Volker Dobler, gonum-dev
I suspect version skew; we did change the asm sigatures recently.

What's the output of `godoc github.com/gonum/internal/asm
DaxpyUnitaryTo`?

You should see:

func DaxpyUnitaryTo(dst []float64, alpha float64, x, y []float64)

The call in dgemm is `asm.DaxpyUnitaryTo(ctmp, tmp,
b.data[l*b.stride:l*b.stride+b.cols], ctmp)` which matches.

The refs for the two packages are

b5df70d76416ba52f34f94cb3bfbab2a3d958e4e asm
a83b0c829fb536732d664e4c89c21ee8860a4635 blas/native

Volker Dobler

unread,
Apr 25, 2016, 8:24:41 AM4/25/16
to gonum-dev, dr.volke...@gmail.com
Am Montag, 25. April 2016 13:09:12 UTC+2 schrieb kortschak:
I suspect version skew; we did change the asm sigatures recently. 

It was the blas package. Thanks!
Somehow it was not updated during a go get -u ... very strange

Volker 
Reply all
Reply to author
Forward
0 new messages