[][src]Function opencl3::program::get_program_build_info

pub fn get_program_build_info(
    program: *mut c_void,
    device: *mut c_void,
    param_name: ProgramBuildInfo
) -> Result<InfoType, i32>

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

  • program - the OpenCL program.
  • device - -the device for which build information is being queried.
  • param_name - the type of program build information being queried, see: Program Build Queries.

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