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

Method add_function

include/boost/compute/detail/meta_kernel.hpp:745–753  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

743 }
744
745 void add_function(const std::string &name, const std::string &source)
746 {
747 if(m_external_function_names.count(name)){
748 return;
749 }
750
751 m_external_function_names.insert(name);
752 m_external_function_source << source << "\n";
753 }
754
755 void add_function(const std::string &name,
756 const std::string &source,

Callers 1

meta_kernel.hppFile · 0.80

Calls 5

countMethod · 0.45
insertMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected