Function ocl_core::enqueue_write_buffer_rect
[−]
[src]
pub fn enqueue_write_buffer_rect<T: OclPrm>(command_queue: &CommandQueue,
buffer: &Mem,
block: bool,
buffer_origin: [usize; 3],
host_origin: [usize; 3],
region: [usize; 3],
buffer_row_pitch: usize,
buffer_slc_pitch: usize,
host_row_pitch: usize,
host_slc_pitch: usize,
data: &[T],
wait_list: Option<&ClWaitList>,
new_event: Option<&mut ClEventPtrNew>)
-> OclResult<()>
Enqueues a command to write from a rectangular region from host memory to a buffer object.