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

Method get_context

include/boost/compute/memory_object.hpp:82–85  ·  view source on GitHub ↗

Returns the context for the memory object.

Source from the content-addressed store, hash-verified

80
81 /// Returns the context for the memory object.
82 context get_context() const
83 {
84 return context(get_memory_info<cl_context>(CL_MEM_CONTEXT));
85 }
86
87 /// Returns the host pointer associated with the memory object.
88 void* get_host_ptr() const

Callers

nothing calls this directly

Calls 1

contextClass · 0.70

Tested by

no test coverage detected