protoc_xla_protos

command
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

protoc_xla_protos compiles the .proto from the OpenXLA/XLA sources to subpackages of "github.com/gomlx/gopjrt/protos".

It should be executed under the gopjrt/protos directory -- suggested as a go:generate -- and it requires XLA_SRC to be set to a cloned github.com/openxla/xla clone.

It first removes from the proto any lines with `option go_package = "...";`, since they wouldn't allow the compilation. See https://github.com/golang/protobuf/issues/1621 on this issue. The **files are modified** in place.

Jump to

Keyboard shortcuts

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