API reference

API reference#

This section provides the complete Doxygen-generated C++ API for eagle, rendered through Breathe and split by module. For the Python package (eagle, imported from pip install -e ./python), see Python API reference.

Note

The API reference is generated from Doxygen XML. Run make doxygen in the docs/ directory before building the Sphinx docs, or use make doxygen html to build both in one step.

Module

Contents

cuda API

Graph, Launcher, StreamCapturer, CapturedGraph (see cuda module); Stream, Event (RAII wrappers, see CUDA graphs); HostCallback (a CPU function run as a graph node, see Library structure); three free functions used internally for launch-geometry tuning — currentSMCount (the current GPU’s streaming-multiprocessor count), currentFp64PerfRatio (its FP32:FP64 throughput ratio, used to pick between native and emulated double-precision kernels), and computeBlocks (derives a block-size/block-count pair for an N-sample launch from those two numbers).

Graph view API

eagle::graph: Description, deriveEdges, siblingConflicts, layout, ascii / mermaid / dot, describe; and eagle::util::BusyGuard (listed under util API).

Reverse API

eagle::diff: transpose (the reverse of a graph Description), snapshots, orderedSum; the guide is Gradients through a graph.

Filtering API

Scanner, FilteringSlice, RefScanner, RefSlice, cuda::Scan, cpu::Scan.

reduce API

cuda::Reduction, cpu::Reduction.

host API

eagle::cpu::Host — OpenMP + SIMD host dispatcher.

util API

Global typedefs, logging, error handling, Observable / Observer, Slice, and thread management.

The eight pages, one per module:

(The Python reference, Python API reference, is listed beside this page.)