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

Method get_context

include/boost/compute/command_queue.hpp:238–241  ·  view source on GitHub ↗

Returns the context for the command queue.

Source from the content-addressed store, hash-verified

236
237 /// Returns the context for the command queue.
238 context get_context() const
239 {
240 return context(get_info<cl_context>(CL_QUEUE_CONTEXT));
241 }
242
243 /// Returns information about the command queue.
244 ///

Calls 1

contextClass · 0.70

Tested by

no test coverage detected