@@ -9145,20 +9145,12 @@ include::{generated}/api/version-notes/clCreateProgramWithSource.asciidoc[]
91459145 * _errcode_ret_ will return an appropriate error code.
91469146 If _errcode_ret_ is `NULL`, no error code is returned.
91479147
9148- The source code specified by _strings_ will be loaded into the program
9149- object.
9150-
91519148The devices associated with the program object are the devices associated
91529149with _context_.
9153- The source code specified by _strings_ is either an OpenCL C program source,
9154- header or implementation-defined source for custom devices that support an
9155- online compiler.
9156- OpenCL {cpp} is not supported as an online-compiled kernel language through
9157- this interface.
9158- ifdef::cl_ext_cxx_for_opencl[]
9159- If the {cl_ext_cxx_for_opencl_EXT} extension is supported, the source code
9160- specified by _strings_ may also be a C++ for OpenCL program source or header.
9161- endif::cl_ext_cxx_for_opencl[]
9150+
9151+ The source code specified by _strings_ are loaded into the program object.
9152+ The source languages supported for _strings_ are defined by device queries such
9153+ as {CL_DEVICE_OPENCL_C_ALL_VERSIONS}.
91629154
91639155// refError
91649156
@@ -11501,22 +11493,19 @@ include::{generated}/api/version-notes/clGetKernelWorkGroupInfo.asciidoc[]
1150111493
1150211494include::{generated}/api/version-notes/CL_KERNEL_GLOBAL_WORK_SIZE.asciidoc[]
1150311495 | {size_t_TYPE}[3]
11504- | This provides a mechanism for the application to query the maximum
11505- global size that can be used to execute a kernel (i.e. the
11506- _global_work_size_ argument to {clEnqueueNDRangeKernel}) on a custom
11507- device given by _device_ or a built-in kernel on an OpenCL device
11508- given by _device_.
11509-
11510- If _device_ is not a custom device and _kernel_ is not a built-in
11511- kernel, {clGetKernelWorkGroupInfo} returns the error
11512- {CL_INVALID_VALUE}.
11496+ | Provides a mechanism for the application to query the maximum
11497+ global size that can be used to execute a built-in kernel on a
11498+ specific device given by _device_.
11499+
11500+ If _kernel_ is not a built-in kernel, querying
11501+ {CL_KERNEL_GLOBAL_WORK_SIZE) returns the error {CL_INVALID_VALUE}.
1151311502| {CL_KERNEL_WORK_GROUP_SIZE_anchor}
1151411503
1151511504include::{generated}/api/version-notes/CL_KERNEL_WORK_GROUP_SIZE.asciidoc[]
1151611505 | {size_t_TYPE}
11517- | This provides a mechanism for the application to query the maximum
11506+ | Provides a mechanism for the application to query the maximum
1151811507 work-group size that can be used to execute the kernel on a specific
11519- device given by device .
11508+ device given by _device_ .
1152011509 The OpenCL implementation uses the resource requirements of the
1152111510 kernel (register usage etc.) to determine what this work-group size
1152211511 should be.
@@ -11587,7 +11576,7 @@ Otherwise, it returns one of the following errors:
1158711576 <<kernel-workgroup-info-table, Kernel Object Device Queries>> table
1158811577 and _param_value_ is not `NULL`.
1158911578 * {CL_INVALID_VALUE} if _param_name_ is {CL_KERNEL_GLOBAL_WORK_SIZE} and
11590- _device_ is not a custom device and _kernel_ is not a built-in kernel.
11579+ _kernel_ is not a built-in kernel.
1159111580 * {CL_OUT_OF_RESOURCES} if there is a failure to allocate resources required
1159211581 by the OpenCL implementation on the device.
1159311582 * {CL_OUT_OF_HOST_MEMORY} if there is a failure to allocate resources
0 commit comments