struct pot::EngineBinding

Overview

A name resolved to an engine library and the capnp params message it takes. More…

#include <gpr/potentials/EngineRegistry.h>
 
struct EngineBinding {
    // fields
 
    std::string library;
    std::string params_arm;
    std::vector<unsigned char> config;
    std::string model_path;
    std::vector<std::string> searched;
};

Detailed Documentation

A name resolved to an engine library and the capnp params message it takes.

Fields

std::string library

path or soname for dlopen

std::string params_arm

capnp root struct, e.g. UmaParams

std::vector<unsigned char> config

flat-array message

std::string model_path

the model the engine will load

std::vector<std::string> searched

Directories looked in for the table’s library name, in order. Empty when the library was given explicitly.