OpenCL-Docs
OpenCL-Docs copied to clipboard
Spec consistency around param_value_size parameter for many OpenCL procedures
In few cases of OpenCL API spec mentioned that param_value_size
is ignored if related para_value
is NULL, eg. :
param_value_size specifies the size in bytes of memory pointed to by param_value. This size must be ≥ size of return type as described in the table below. If param_value is NULL, it is ignored.
This is the case for clGetCommandBufferInfoKHR
and clGetCommandQueueInfo
.
For below, similar cases this information is missing.
clGetPlatformInfo, clGetDeviceInfo, clCreateSubDevices, clGetContextInfo, clGetSupportedImageFormats, clGetImageInfo, clGetPipeInfo, clGetMemObjectInfo, clGetGLTextureInfo, clGetSamplerInfo, clGetProgramInfo, clGetProgramBuildInfo, clCreateKernelsInProgram, clGetKernelInfo, clGetKernelWorkGroupInfo, clGetKernelSubGroupInfo, clGetKernelArgInfo, clGetEventInfo, clGetSemaphoreHandleForTypeKHR, clGetSemaphoreInfoKHR, clGetEventProfilingInfo, clGetMutableCommandInfoKHR, clGetGLContextInfoKHR