Function ocl_core::enqueue_fill_buffer
[−]
[src]
pub fn enqueue_fill_buffer<T, M, En, Ewl>(
command_queue: &CommandQueue,
buffer: M,
pattern: T,
offset: usize,
len: usize,
wait_list: Option<Ewl>,
new_event: Option<En>,
device_version: Option<&OpenclVersion>
) -> OclResult<()> where
T: OclPrm,
En: ClNullEventPtr,
Ewl: ClWaitListPtr,
M: AsMem<T> + MemCmdRw,
Enqueues a command to fill a buffer object with a pattern of a given pattern size.
Pattern (from SDK Docs)
[Version Controlled: OpenCL 1.2+] See module docs for more info.