pub fn create_vec_from_buffer<T: OclPrm>(buffer: &Buffer<T>) -> Vec<T>
Creates a vector from a buffer with the same size and type.