| 79 | } |
| 80 | |
| 81 | optional<value> problem_cache::get(const std::string& name, const value& problem) const |
| 82 | { |
| 83 | auto it = cache.find(create_key(name, problem)); |
| 84 | if(it == cache.end()) |
| 85 | return nullopt; |
| 86 | return it->second; |
| 87 | } |
| 88 | |
| 89 | } // namespace gpu |
| 90 | } // namespace MIGRAPHX_INLINE_NS |
no test coverage detected