Represents a compute context. The context class represents a compute context. const device& const cl_context_properties* 0 Creates a new context object for device with properties. cl_context bool true Creates a new context object for context. If retain is true (the default) the reference count for context will be incremented. const context & Creates a new context object as a copy of other. context && Move-constructs a new context object from other. const context & Copies the context from other. context && Transfers the ownership of the context from other. Destroys the context object. T cl_context_info Returns information about the context.