boost::compute::make_function_from_source
// In header: <boost/compute/function.hpp> template<typename Signature> function< Signature > make_function_from_source(const std::string & name, const std::string & source);
Creates a function object given its name and source.
name
source
See Also:
BOOST_COMPUTE_FUNCTION()
Parameters:
The function name.
The function source code.