package
Version:
v0.0.0-...-d20b9d2
Opens a new window with list of versions in this module.
Published: Oct 25, 2016
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Dot is a generic dot product function.
We assume that the thunkGen generates a new
thunk for each thread to use. The length is
how long the array is
DotFloat32 performs a dot product on two arrays of float32
DotFloat64 performs a dot product on two arrays of float64
DotInt performs a dot product on two arrays of float64
DotInt32 performs a dot product on two arrays of float64
DotInt64 performs a dot product on two arrays of float64
type DotThunk struct {
Save func()
Dot func(int, int)
Print func(int)
}
DotThunk encapsulates common operations among all dot products
Save - When a thread has reached the end of its exection it calls Save
Dot - On each iteration we call Dot
Source Files
¶
Click to show internal directories.
Click to hide internal directories.