Function opencl3::kernel::get_kernel_info[][src]

pub fn get_kernel_info(
    kernel: *mut c_void,
    param_name: u32
) -> Result<InfoType, i32>
Expand description

Get specific information about an OpenCL kernel.
Calls clGetKernelInfo to get the desired information about the kernel.

  • kernel - the OpenCL kernel.
  • param_name - the type of kernel information being queried, see: Kernel Object Queries.

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