Skip to main content

opaque_fd_pair

Function opaque_fd_pair 

Source
pub(crate) fn opaque_fd_pair(
    uuid: [u8; 16],
) -> Result<(OwnedFd, OwnedFd), String>
Expand description

Two fds of one new binary semaphore exportable as OPAQUE_FD, made on the Vulkan device whose UUID is uuid (the CUDA device’s, as cuDeviceGetUuid reports it).