voice_audio_multi/include/engine/framework/rknn/engine_resources.h
Fabio c36510c21e
Some checks failed
Linux Build / Linux cpu (push) Has been cancelled
Linux Build / Linux cpu-clang (push) Has been cancelled
Linux Build / Linux vulkan (push) Has been cancelled
mac-build / macOS CPU (push) Has been cancelled
Nix Build / Nix (cpu) (push) Has been cancelled
Nix Build / Nix (vulkan) (push) Has been cancelled
windows-build / Windows CPU (push) Has been cancelled
Initial import: audio.cpp with Orange Pi documentation
2026-11-04 19:05:22 +01:00

18 lines
574 B
C++

#pragma once
#include "engine/framework/runtime/model.h"
#include <filesystem>
#include <string>
#include <vector>
namespace engine::rknn {
// Selected engine artifacts may each contain a comma-separated list of paths. Resolve and
// deduplicate them, price through the driver (file size when unavailable), and sum residency.
// Component/artifact selection and eviction policy belong to the caller.
runtime::ModelResourcePlan engine_resources(
const std::vector<std::string> & artifacts,
const std::filesystem::path & model_path);
} // namespace engine::rknn