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

Method get_host_ptr

include/boost/compute/memory_object.hpp:88–91  ·  view source on GitHub ↗

Returns the host pointer associated with the memory object.

Source from the content-addressed store, hash-verified

86
87 /// Returns the host pointer associated with the memory object.
88 void* get_host_ptr() const
89 {
90 return get_memory_info<void *>(CL_MEM_HOST_PTR);
91 }
92
93 /// Returns the reference count for the memory object.
94 uint_ reference_count() const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected