Function ocl_core::enqueue_write_image [] [src]

pub fn enqueue_write_image<T>(command_queue: &CommandQueue,
                              image: &Mem,
                              block: bool,
                              origin: [usize; 3],
                              region: [usize; 3],
                              input_row_pitch: usize,
                              input_slc_pitch: usize,
                              data: &[T],
                              wait_list: Option<&ClWaitList>,
                              new_event: Option<&mut ClEventPtrNew>)
                              -> OclResult<()>

Enqueues a command to write to an image or image array object from host memory.

TODO: Size check (rather than leaving it to API).