|
InfiniOps
Operator Library for Accelerators
|
This guide installs InfiniOps and runs a minimal Python operator call. InfiniOps depends on an installed InfiniRT prefix.
include/infini/rt.h and lib/libinfinirt.soBuild and install InfiniRT into a prefix outside the InfiniOps source tree. The exact backend options should match the device you want InfiniOps to use.
The prefix should contain:
For a CPU build:
For development, install the optional dependencies:
InfiniOps can also auto-detect available backends:
Use explicit backend options when auto-detection is not appropriate for the target machine.
The repository also contains examples/gemm.py for a runnable Python example. See Examples for the full example inventory.
The formal C++ API entry point is:
This header exposes the documented core types and generated operator call surface. Downstream C++ code should use this installed entry point. Repository examples may use narrower headers or implementation details to exercise specific components; see Examples for build commands and backend notes. An installed-consumer CMake example would add packaging validation, but is not a prerequisite for treating the documented C++ interface as public API.
See Build and Test for backend options and smoke test commands, and Operators for the operator dispatch model.