static

package
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2025 License: Apache-2.0 Imports: 2 Imported by: 1

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").

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL