pub unsafe extern "C" fn mcl_task_set_kernel(
    hdl: *mut mcl_handle,
    prg_path: *mut c_char,
    kname: *mut c_char,
    nargs: u64,
    copts: *mut c_char,
    flags: c_ulong
) -> c_int
Expand description

@brief Initialize a task to run the specified kernel

@param hdl Handle associated with task @param prg_path Path to *.cl file containing the kernel @param kname The name of the kernel @param nargs Number of arguments @param copts Additional compiler flags @param flags 0 or MCL_FLAG_NO_RES @return int 0 on success