Function magma::magma_device_import

source ยท
pub unsafe extern "C" fn magma_device_import(
    device_channel: magma_handle_t,
    device_out: *mut magma_device_t,
) -> magma_status_t
Expand description

\brief Imports and takes ownership of a channel to a device. Takes ownership of |device_channel| on both success and failure. \param device_channel A channel connecting to a gpu class device. \param device_out Returned device.