Documentation
¶
Overview ¶
Package api defines the interface between a backend and a GX package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct {
// contains filtered or unexported fields
}
Device created by a runtime.
func (*Device) PlatformDevice ¶
PlatformDevice returns the device used on the platform.
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
Runtime encapsulates a GX builder and a backend. A backend is a platform managing one or more devices and a graph builder.
func NewRuntime ¶
NewRuntime returns a new GX runtime.
Directories
¶
Path | Synopsis |
---|---|
Package options specifies options for packages.
|
Package options specifies options for packages. |
Package trace is the API to use the builtin `trace` in GX.
|
Package trace is the API to use the builtin `trace` in GX. |
Package tracer implements a context and evaluator for the interpreter which builds a graph by tracing operators being executed when GX code is interpreted.
|
Package tracer implements a context and evaluator for the interpreter which builds a graph by tracing operators being executed when GX code is interpreted. |
Package values implements all values that GX can represent.
|
Package values implements all values that GX can represent. |
Click to show internal directories.
Click to hide internal directories.