pub unsafe fn host_register<T>(mem: &[T]) -> Result<()>
Expand description

Page-lock an existing memory range for efficient GPU transfers.

Unsafety

Page-locked memory must be unregistered with host_unregister().