Function ocl_core::enqueue_copy_buffer
[−]
[src]
pub fn enqueue_copy_buffer<T, M, En, Ewl>(
command_queue: &CommandQueue,
src_buffer: M,
dst_buffer: M,
src_offset: usize,
dst_offset: usize,
len: usize,
wait_list: Option<Ewl>,
new_event: Option<En>
) -> OclResult<()> where
T: OclPrm,
En: ClNullEventPtr,
Ewl: ClWaitListPtr,
M: AsMem<T> + MemCmdAll,
Copies the contents of one buffer to another.