Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package cbuffer provides a wrapper for a C/C++ buffer that can be used to transfer data in-between pjrt, xlabuilder and the user of the library.
|
Package cbuffer provides a wrapper for a C/C++ buffer that can be used to transfer data in-between pjrt, xlabuilder and the user of the library. |
|
cmd
|
|
|
computexla_generator
command
xla_generator generates xla.Backend implementations based on backend.Builder API.
|
xla_generator generates xla.Backend implementations based on backend.Builder API. |
|
copy_go_code
command
|
|
|
dtypes_codegen
command
codegen parses the pjrt_c_api.h and generates boilerplate code for creating the various C structures.
|
codegen parses the pjrt_c_api.h and generates boilerplate code for creating the various C structures. |
|
exec_hlo
command
exec_hlo is a trivial testing program to execute HLO programs that take as input only one value.
|
exec_hlo is a trivial testing program to execute HLO programs that take as input only one value. |
|
ops_generator
command
|
|
|
pjrt_codegen
command
pjrt_codegen copies prjt_c_api.h from github.com/openxla/xla source (pointed by XLA_SRC env variable), parses it and generates boilerplate code for creating the various C structures.
|
pjrt_codegen copies prjt_c_api.h from github.com/openxla/xla source (pointed by XLA_SRC env variable), parses it and generates boilerplate code for creating the various C structures. |
|
protoc_xla_protos
command
protoc_xla_protos compiles the .proto from the OpenXLA/XLA sources to subpackages of "github.com/gomlx/go-xla/internal/protos".
|
protoc_xla_protos compiles the .proto from the OpenXLA/XLA sources to subpackages of "github.com/gomlx/go-xla/internal/protos". |
|
strip_protos
command
|
|
|
xlabuilder_codegen
command
codegen parses the node_types.txt and generates boilerplate code both C and Go.
|
codegen parses the node_types.txt and generates boilerplate code both C and Go. |
|
Package must provide a set of functions that check for errors and panic on error.
|
Package must provide a set of functions that check for errors and panic on error. |
|
Package optypes defines OpType and lists the supported operations.
|
Package optypes defines OpType and lists the supported operations. |
|
pjrt
|
|
|
cpudynamictest
Package cpudynamictest is just a hack around Go's limitation to use CGO in tests and to avoid cyclic dependency.
|
Package cpudynamictest is just a hack around Go's limitation to use CGO in tests and to avoid cyclic dependency. |
|
cpustatictest
Package cpustatictest is just a hack around Go's limitation to use CGO in tests and to avoid cyclic dependency.
|
Package cpustatictest is just a hack around Go's limitation to use CGO in tests and to avoid cyclic dependency. |
|
Package protos is empty, it simply include a rule to generate all the sub-packages: one sub-package per XLA proto used in gopjrt.
|
Package protos is empty, it simply include a rule to generate all the sub-packages: one sub-package per XLA proto used in gopjrt. |
|
Package shapeinference calculates the shape resulting from operations and validates its inputs.
|
Package shapeinference calculates the shape resulting from operations and validates its inputs. |
|
Package utils holds small utility types and functions used internally in stablehlo.
|
Package utils holds small utility types and functions used internally in stablehlo. |
Click to show internal directories.
Click to hide internal directories.