enqueue_map_buffer

Function enqueue_map_buffer 

Source
pub unsafe fn enqueue_map_buffer<T>(
    cq: &CommandQueue,
    buffer: *mut c_void,
    block: bool,
    map_flags: u64,
    offset: usize,
    len: usize,
) -> Result<*mut c_void, Error>
Expand description

map_flags: Read: 1, Write: 2,

ยงSafety

valid mem object