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

Method get_context

include/boost/compute/program.hpp:196–199  ·  view source on GitHub ↗

Returns the context for the program.

Source from the content-addressed store, hash-verified

194
195 /// Returns the context for the program.
196 context get_context() const
197 {
198 return context(get_info<cl_context>(CL_PROGRAM_CONTEXT));
199 }
200
201 /// Returns information about the program.
202 ///

Callers

nothing calls this directly

Calls 1

contextClass · 0.70

Tested by

no test coverage detected