Documentation
¶
Overview ¶
Package static links the XLA/PJRT CPU plugin statically with your binary.
This is slower than dynamically (pre-)linking, but it may be convenient because the binary won't dependent on other files to run -- except the standard C/C++ libraries, but those are usually available in most boxes.
To use it, simply import it:
import _ "github.com/gomlx/gomlx/backends/xla/cpu/static"
It also automatically includes the XLA engine ("github.com/gomlx/gomlx/backends/xla").
Click to show internal directories.
Click to hide internal directories.