docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
rpc_optimization.h File Reference
#include <cmath>
#include <optional>
#include <stdexcept>
#include <nlohmann/json.hpp>
#include "sdfg/element.h"

Go to the source code of this file.

Classes

Namespaces

namespace  sdfg

Functions

std::optional< RpcOptimizationMetadata > sdfg::metadata::rpc_optimization (const Element &element)
void sdfg::metadata::set_rpc_optimization (Element &element, std::optional< nlohmann::json > expected_performance, std::optional< double > vector_distance=std::nullopt)

Variables

constexpr const char * sdfg::metadata::RPC_OPTIMIZATION_METADATA_KEY = "docc.rpc_optimization.v1"