Function opencl3::memory::get_mem_object_info [−][src]
Expand description
Get information common to all OpenCL memory objects (buffer and image objects).
Calls clGetMemObjectInfo to get the desired information about the memory objects.
memobj
- the OpenCL memory objects.param_name
- the type of memory object information being queried, see: Memory Object Info.
returns a Result containing the desired information in an InfoType enum or the error code from the OpenCL C API function.