[][src]Function opencl3::memory::get_pipe_info

pub fn get_pipe_info(
    pipe: *mut c_void,
    param_name: PipeInfo
) -> Result<InfoType, i32>

Get information specific to an OpenCL pipe object.
Calls clGetPipeInfo to get the desired information about the pipe object. CL_VERSION_2_0

  • pipe - the OpenCL pipe object.
  • param_name - the type of pipe object information being queried, see: Pipe Object Queries.

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