MCPcopy Create free account
hub / github.com/boostorg/compute / set

Method set

include/boost/compute/detail/parameter_cache.hpp:62–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 }
61
62 void set(const std::string &object, const std::string &parameter, uint_ value)
63 {
64 m_cache[std::make_pair(object, parameter)] = value;
65
66 // set the dirty flag to true. this will cause the updated parameters
67 // to be stored to disk.
68 m_dirty = true;
69 }
70
71 uint_ get(const std::string &object, const std::string &parameter, uint_ default_value)
72 {

Callers 4

BOOST_AUTO_TEST_CASEFunction · 0.45
tune_accumulateFunction · 0.45
tune_saxpyFunction · 0.45
tune_sortFunction · 0.45

Calls 1

make_pairFunction · 0.85

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.36