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

Method set

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

Source from the content-addressed store, hash-verified

29
30template <typename Args, typename ValueType>
31void MIOpenCache<Args, ValueType>::set(const Args& args, ValueType val) {
32 std::string key = args.to_miopen_algo_cache_key().to_string_binary();
33 std::lock_guard<std::mutex> guard{m_mtx};
34 m_cache[key] = val;
35}
36
37template <typename Args, typename ValueType>
38std::pair<bool, ValueType> MIOpenCache<Args, ValueType>::get(const Args& args) {

Callers 15

init_descMethod · 0.45
exec_internalMethod · 0.45
is_availableMethod · 0.45
find_best_algoMethod · 0.45
init_descMethod · 0.45
exec_internalMethod · 0.45
is_availableMethod · 0.45
find_best_algoMethod · 0.45
init_descMethod · 0.45
exec_internalMethod · 0.45

Calls 1

to_string_binaryMethod · 0.80

Tested by

no test coverage detected