PrevUpHomeNext

Function template make_function_from_source

boost::compute::make_function_from_source

Synopsis

// In header: <boost/compute/function.hpp>


template<typename Signature> 
  function< Signature > 
  make_function_from_source(const std::string & name, 
                            const std::string & source);

Description

Creates a function object given its name and source.

See Also:

BOOST_COMPUTE_FUNCTION()

Parameters:

name

The function name.

source

The function source code.


PrevUpHomeNext