[][src]Function opencl3::event::get_event_info

pub fn get_event_info(
    event: *mut c_void,
    param_name: EventInfo
) -> Result<InfoType, i32>

Get specific information about an OpenCL event.
Calls clGetEventInfo to get the desired information about the event.

  • event - the OpenCL event.
  • param_name - the type of program information being queried, see: Event Object Queries.

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