gorgonia: github.com/chewxy/gorgonia/blase Index | Files

package blase

import "github.com/chewxy/gorgonia/blase"

Package blase is a thin wrapper over Gonum's BLAS interface that provides a queue so that cgo calls are batched. This package was created so MKL usage can be improved.

Any cblas function that is not handled will result in the blocking BLAS call being called


Package Files

blas.go fn.go work.go

func Implementation Uses

func Implementation() *context

Implementation returns a BLAS implementation that implements Float32, Float64, Complex64 and Complex128

type Worker Uses

type Worker interface {
    WorkAvailable() <-chan struct{}

A Worker is a BLAS implementation that reports back if there is anything in the queue (WorkAvailable()) and a way to flush that queue

Package blase imports 4 packages (graph). Updated 2019-09-27. Refresh now. Tools for package owners.