MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / to_string_binary

Method to_string_binary

dnn/src/rocm/convolution/helper.cpp:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23std::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
30template <typename Args, typename ValueType>
31void MIOpenCache<Args, ValueType>::set(const Args& args, ValueType val) {

Callers 2

setMethod · 0.80
getMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected