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

Function make_closure_impl

include/boost/compute/closure.hpp:284–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282// function with the given signature, name, capture, and source.
283template<class Signature, class CaptureTuple>
284inline closure<Signature, CaptureTuple>
285make_closure_impl(const char *name,
286 const char *arguments,
287 const CaptureTuple &capture,
288 const char *capture_string,
289 const std::string &source)
290{
291 std::stringstream s;
292 s << make_closure_declaration<Signature>(name, arguments, capture, capture_string);
293 s << source;
294
295 return closure<Signature, CaptureTuple>(name, capture, s.str());
296}
297
298} // end detail namespace
299} // end compute namespace

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected