Function ocl_core::enqueue_write_buffer
[−]
[src]
pub fn enqueue_write_buffer<T, M, En, Ewl>(
command_queue: &CommandQueue,
buffer: M,
block: bool,
offset: 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 write from host memory, data
, to device memory referred to by
buffer
.