Skip to main content

open_mem_handle

Function open_mem_handle 

Source
pub fn open_mem_handle(
    handle: IpcMemHandle,
    bytes: usize,
) -> Result<OpenedMem, GpuError>
Expand description

Open a previously-exported IPC handle.

bytes is the original allocation size; we pass it through to OpenedMem so callers can build a typed slice on top.