[][src]Function opencl3::kernel::get_kernel_work_group_info

pub fn get_kernel_work_group_info(
    kernel: *mut c_void,
    device: *mut c_void,
    param_name: KernelWorkGroupInfo
) -> Result<InfoType, i32>

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.