Function ocl_core::enqueue_write_buffer_rect
[−]
[src]
pub fn enqueue_write_buffer_rect<T, M, En, Ewl>(
command_queue: &CommandQueue,
buffer: M,
block: bool,
buffer_origin: [usize; 3],
host_origin: [usize; 3],
region: [usize; 3],
buffer_row_pitch_bytes: usize,
buffer_slc_pitch_bytes: usize,
host_row_pitch_bytes: usize,
host_slc_pitch_bytes: usize,
data: &[T],
wait_list: Option<Ewl>,
new_event: Option<En>
) -> OclResult<()> where
T: OclPrm,
En: ClNullEventPtr,
Ewl: ClWaitListPtr,
M: AsMem<T> + MemCmdRw,
Enqueues a command to write from a rectangular region from host memory to a buffer object.