Function opencl3::kernel::set_kernel_exec_info[][src]

pub fn set_kernel_exec_info(
    kernel: *mut c_void,
    param_name: u32,
    param_value_size: usize,
    param_value: *const c_void
) -> Result<(), i32>
Expand description

Pass additional information other than argument values to a kernel.
Calls clSetKernelExecInfo.

  • kernel - the OpenCL kernel.
  • param_name - the information to be passed to kernel, see: Kernel Execution Properties.
  • param_ptr - pointer to the data for the param_name.

returns an empty Result or the error code from the OpenCL C API function.