Returns the context for the memory object.
| 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 |