@@ -4709,46 +4709,38 @@ endif::cl_khr_d3d11_sharing[]
47094709successfully.
47104710Otherwise, it returns one of the following errors:
47114711
4712- * {CL_INVALID_MEM_OBJECT} if _image_ is a not a valid image object.
4713- * {CL_INVALID_VALUE} if _param_name_ is not one of the supported values, or
4714- if the size in bytes specified by _param_value_size_ is less than size of
4712+ * {CL_INVALID_MEM_OBJECT}
4713+ ** if _image_ is a not a valid image object
4714+ * {CL_INVALID_VALUE}
4715+ ** if _param_name_ is not one of the supported values
4716+ ** if the size in bytes specified by _param_value_size_ is less than size of
47154717 the return type specified in the
4716- <<image-info-table, Image Object Queries>> table
4717- and _param_value_ is not `NULL`.
4718- * {CL_OUT_OF_RESOURCES} if there is a failure to allocate resources required
4719- by the OpenCL implementation on the device.
4720- * {CL_OUT_OF_HOST_MEMORY} if there is a failure to allocate resources
4721- required by the OpenCL implementation on the host.
4722-
4718+ <<image-info-table, Image Object Queries>>
4719+ table and _param_value_ is not `NULL`
47234720ifdef::cl_khr_dx9_media_sharing[]
4724- The following errors may be returned if the {cl_khr_dx9_media_sharing_EXT}
4725- extension is supported:
4726-
4727- * {CL_INVALID_DX9_MEDIA_SURFACE_KHR} if _param_name_ is
4728- {CL_IMAGE_DX9_MEDIA_PLANE_KHR} and _image_ was not created by calling
4729- {clCreateFromDX9MediaSurfaceKHR}.
4721+ * {CL_INVALID_DX9_MEDIA_SURFACE_KHR}
4722+ ** if the {cl_khr_dx9_media_sharing_EXT} extension is supported,
4723+ if _param_name_ is {CL_IMAGE_DX9_MEDIA_PLANE_KHR},
4724+ and if _image_ was not created by calling {clCreateFromDX9MediaSurfaceKHR}
47304725endif::cl_khr_dx9_media_sharing[]
4731-
47324726ifdef::cl_khr_d3d10_sharing[]
4733- The following errors may be returned if the {cl_khr_d3d10_sharing_EXT}
4734- extension is supported:
4735-
4736- * {CL_INVALID_D3D10_RESOURCE_KHR} if _param_name_ is
4737- {CL_IMAGE_D3D10_SUBRESOURCE_KHR} and _image_ was not created by the
4738- function {clCreateFromD3D10Texture2DKHR}, or
4739- {clCreateFromD3D10Texture3DKHR}.
4727+ * {CL_INVALID_D3D10_RESOURCE_KHR}
4728+ ** if the {cl_khr_d3d10_sharing_EXT} extension is supported,
4729+ if _param_name_ is {CL_IMAGE_D3D10_SUBRESOURCE_KHR},
4730+ and if _image_ was not created by the function {clCreateFromD3D10Texture2DKHR} or {clCreateFromD3D10Texture3DKHR}
47404731endif::cl_khr_d3d10_sharing[]
4741-
47424732ifdef::cl_khr_d3d11_sharing[]
4743- The following errors may be returned if the {cl_khr_d3d11_sharing_EXT}
4744- extension is supported:
4745-
4746- * {CL_INVALID_D3D11_RESOURCE_KHR} if _param_name_ is
4747- {CL_IMAGE_D3D11_SUBRESOURCE_KHR} and _image_ was not created by the
4748- function {clCreateFromD3D11Texture2DKHR}, or
4749- {clCreateFromD3D11Texture3DKHR}.
4733+ * {CL_INVALID_D3D11_RESOURCE_KHR}
4734+ ** if the {cl_khr_d3d11_sharing_EXT} extension is supported,
4735+ if _param_name_ is {CL_IMAGE_D3D11_SUBRESOURCE_KHR},
4736+ and if _image_ was not created by the function {clCreateFromD3D11Texture2DKHR} or {clCreateFromD3D11Texture3DKHR}.
47504737endif::cl_khr_d3d11_sharing[]
4751-
4738+ * {CL_OUT_OF_RESOURCES}
4739+ ** if there is a failure to allocate resources required by the OpenCL
4740+ implementation on the device
4741+ * {CL_OUT_OF_HOST_MEMORY}
4742+ ** if there is a failure to allocate resources required by the OpenCL
4743+ implementation on the host
47524744--
47534745
47544746
0 commit comments