@@ -10920,22 +10920,25 @@ endif::cl_khr_depth_images,cl_khr_gl_msaa_sharing[]
1092010920 * {CL_INVALID_DEVICE_QUEUE} for an argument declared to be of type _queue_t_
1092110921 when the specified _arg_value_ is not a valid device queue object.
1092210922 This error code is <<unified-spec, missing before>> version 2.0.
10923- * {CL_INVALID_ARG_SIZE} if _arg_size_ does not match the size of the data
10924- type for an argument that is not a memory object or if the argument is a
10925- memory object and _arg_size_ != `sizeof({cl_mem_TYPE})` or if _arg_size_ is
10926- zero and the argument is declared with the local qualifier or if the
10927- argument is a sampler and _arg_size_ != `sizeof({cl_sampler_TYPE})`.
10923+ * {CL_INVALID_ARG_SIZE}
10924+ ** if _arg_size_ does not match the size of the data type for an argument
10925+ that is not a memory object, or
10926+ ** if the argument is a memory object and _arg_size_ != `sizeof({cl_mem_TYPE})`, or
10927+ ** if _arg_size_ is zero and the argument is declared with the `local` qualifier, or
10928+ ** if the argument is a sampler and _arg_size_ != `sizeof({cl_sampler_TYPE})`.
1092810929 * {CL_MAX_SIZE_RESTRICTION_EXCEEDED} if the size in bytes of the memory
1092910930 object (if the argument is a memory object) or _arg_size_ (if the
1093010931 argument is declared with `local` qualifier) exceeds a language-
1093110932 specified maximum size restriction for this argument, such as the
1093210933 *MaxByteOffset* SPIR-V decoration.
1093310934 This error code is <<unified-spec, missing before>> version 2.2.
10934- * {CL_INVALID_ARG_VALUE} if the argument is an image declared with the
10935- `read_only` qualifier and _arg_value_ refers to an image object created
10936- with _cl_mem_flags_ of {CL_MEM_WRITE_ONLY} or if the image argument is
10937- declared with the `write_only` qualifier and _arg_value_ refers to an
10938- image object created with _cl_mem_flags_ of {CL_MEM_READ_ONLY}.
10935+ * {CL_INVALID_ARG_VALUE}
10936+ ** if the argument is an image declared with the `read_only` qualifier and
10937+ _arg_value_ refers to an image object created with _cl_mem_flags_ of
10938+ {CL_MEM_WRITE_ONLY}, or
10939+ ** if the image argument is declared with the `write_only` qualifier and
10940+ _arg_value_ refers to an image object created with _cl_mem_flags_ of
10941+ {CL_MEM_READ_ONLY}.
1093910942 * {CL_OUT_OF_RESOURCES} if there is a failure to allocate resources required
1094010943 by the OpenCL implementation on the device.
1094110944 * {CL_OUT_OF_HOST_MEMORY} if there is a failure to allocate resources
0 commit comments