| 21 | } |
| 22 | |
| 23 | std::string MIOpenCacheKey::to_string_binary() const { |
| 24 | std::string ret(sizeof(MIOpenCacheKey), '\0'); |
| 25 | auto ptr = reinterpret_cast<MIOpenCacheKey*>(&ret[0]); |
| 26 | *ptr = *this; |
| 27 | return ret; |
| 28 | } |
| 29 | |
| 30 | template <typename Args, typename ValueType> |
| 31 | void MIOpenCache<Args, ValueType>::set(const Args& args, ValueType val) { |