#[repr(C)]pub struct cudaExternalSemaphoreWaitParams {
pub params: cudaExternalSemaphoreWaitParams__bindgen_ty_1,
pub flags: c_uint,
pub reserved: [c_uint; 16],
}Expand description
External semaphore wait parameters, compatible with driver type.
Fields§
§params: cudaExternalSemaphoreWaitParams__bindgen_ty_1Payload for the wait operation, interpreted using the external semaphore’s handle type.
flags: c_uintOnly when cudaExternalSemaphoreSignalParams is used to signal a cudaExternalSemaphore_t of type cudaExternalSemaphoreHandleType::cudaExternalSemaphoreHandleTypeNvSciSync, the valid flag is cudaExternalSemaphoreSignalSkipNvSciBufMemSync: which indicates that while waiting for the cudaExternalSemaphore_t, no memory synchronization operations should be performed for any external memory object imported as cudaExternalMemoryHandleType::cudaExternalMemoryHandleTypeNvSciBuf.
For all other types of cudaExternalSemaphore_t, flags must be zero.
reserved: [c_uint; 16]Reserved storage in the native ABI.
Trait Implementations§
impl Copy for cudaExternalSemaphoreWaitParams
Auto Trait Implementations§
impl !Send for cudaExternalSemaphoreWaitParams
impl !Sync for cudaExternalSemaphoreWaitParams
impl Forget for cudaExternalSemaphoreWaitParams
impl Freeze for cudaExternalSemaphoreWaitParams
impl Move for cudaExternalSemaphoreWaitParams
impl RefUnwindSafe for cudaExternalSemaphoreWaitParams
impl Unpin for cudaExternalSemaphoreWaitParams
impl UnsafeUnpin for cudaExternalSemaphoreWaitParams
impl UnwindSafe for cudaExternalSemaphoreWaitParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more