pub fn get_kernel_work_group_info(
    kernel: cl_kernel,
    device: cl_device_id,
    param_name: cl_kernel_work_group_info
) -> Result<InfoType, cl_int>
Expand description

Get specific information about work groups of an OpenCL kernel.
Calls clGetKernelWorkGroupInfo to get the desired information about the kernel.

  • kernel - the OpenCL kernel.
  • device - a specific device in the list of devices associated with kernel.
  • param_name - the type of kernel information being queried, see: Kernel Object Device Queries.

returns a Result containing the desired information in an InfoType enum or the error code from the OpenCL C API function.