| 1293 | conditioning_graph_.reset(); |
| 1294 | flow_estimator_graph_.reset(); |
| 1295 | weights_.reset(); |
| 1296 | } |
| 1297 | |
| 1298 | const HeartMuLaAssets & HeartCodecWeightsRuntime::assets() const noexcept { |
| 1299 | return *assets_; |
| 1300 | } |
| 1301 | |
| 1302 | const HeartCodecWeights & HeartCodecWeightsRuntime::weights() const noexcept { |
| 1303 | return *weights_; |
| 1304 | } |
| 1305 | |
| 1306 | ggml_backend_t HeartCodecWeightsRuntime::backend() const noexcept { |
| 1307 | return execution_context_->backend(); |
| 1308 | } |
| 1309 | |
| 1310 | core::BackendType HeartCodecWeightsRuntime::backend_type() const noexcept { |
| 1311 | return execution_context_->backend_type(); |
| 1312 | } |
| 1313 | |
| 1314 | int HeartCodecWeightsRuntime::device() const noexcept { |
| 1315 | return execution_context_->config().device; |
| 1316 | } |
| 1317 | |
| 1318 | int HeartCodecWeightsRuntime::threads() const noexcept { |
| 1319 | return std::max(1, execution_context_->config().threads); |
| 1320 | } |
| 1321 | |
| 1322 | size_t HeartCodecWeightsRuntime::flow_estimator_graph_arena_bytes() const noexcept { |
| 1323 | return flow_estimator_graph_arena_bytes_; |
| 1324 | } |
| 1325 | |
| 1326 | size_t HeartCodecWeightsRuntime::conditioning_graph_arena_bytes() const noexcept { |
| 1327 | return conditioning_graph_arena_bytes_; |
| 1328 | } |
nothing calls this directly
no test coverage detected