Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultStrategy = BinaryTreeStar
Variables ¶
This section is empty.
Functions ¶
func StrategyNames ¶
func StrategyNames() []string
func Transform2 ¶
Transform2 performs z[i] = x[i] + y[i] for vectors z and x, y.
Types ¶
type DataType ¶
type DataType C.KungFu_Datatype
const ( U8 DataType = C.KungFu_UINT8 U16 DataType = C.KungFu_UINT16 U32 DataType = C.KungFu_UINT32 U64 DataType = C.KungFu_UINT64 I8 DataType = C.KungFu_INT8 I16 DataType = C.KungFu_INT16 I32 DataType = C.KungFu_INT32 I64 DataType = C.KungFu_INT64 F16 DataType = C.KungFu_FLOAT16 F32 DataType = C.KungFu_FLOAT F64 DataType = C.KungFu_DOUBLE )
type OP ¶
const ( SUM OP = C.KungFu_SUM MIN OP = C.KungFu_MIN MAX OP = C.KungFu_MAX PROD OP = C.KungFu_PROD )
type Strategy ¶
type Strategy C.KungFu_Strategy
const ( Star Strategy = C.KungFu_Star Ring Strategy = C.KungFu_Ring Clique Strategy = C.KungFu_Clique Tree Strategy = C.KungFu_Tree BinaryTree Strategy = C.KungFu_BinaryTree BinaryTreeStar Strategy = C.KungFu_BinaryTreeStar MultiBinaryTreeStar Strategy = C.KungFu_MultiBinaryTreeStar Auto Strategy = C.KungFu_AUTO )
func ParseStrategy ¶
Click to show internal directories.
Click to hide internal directories.