| 271 | kernel * graph::get_node(size_t id) { return container_[id].get(); } |
| 272 | |
| 273 | std::shared_ptr<ral::cache::CacheMachine> graph::get_kernel_output_cache(size_t kernel_id, std::string cache_id){ |
| 274 | return container_[kernel_id].get()->output_cache(cache_id); |
| 275 | } |
| 276 | |
| 277 | void graph::set_input_and_output_caches(std::shared_ptr<ral::cache::CacheMachine> input_cache, std::shared_ptr<ral::cache::CacheMachine> output_cache) { |
| 278 | this->input_cache_ = input_cache; |
no test coverage detected