Function ocl_core::enqueue_unmap_mem_object [] [src]

pub fn enqueue_unmap_mem_object(command_queue: &CommandQueue,
                                memobj: &Mem,
                                mapped_ptr: *mut c_void,
                                wait_list: Option<&ClWaitList>,
                                new_event: Option<&mut ClEventPtrNew>)
                                -> OclResult<()>

[UNTESTED] Enqueues a command to unmap a previously mapped region of a memory object.

SDK Docs

Stability

This function will eventually accept a safe wrapper of some sort for the mapped host memory rather than a pointer.