Function opencl3::program::get_program_info[][src]

pub fn get_program_info(
    program: *mut c_void,
    param_name: ProgramInfo
) -> Result<InfoType, i32>
Expand description

Get specific information about an OpenCL program.
Calls clGetProgramInfo to get the desired information about the program.

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

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