gorgonia: gorgonia.org/gorgonia/blase Index | Files

package blase

import "gorgonia.org/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

Index

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{}
    DoWork()
}

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) and is imported by 2 packages. Updated 2019-09-17. Refresh now. Tools for package owners.