#[repr(C)]pub struct cudaExternalSemaphoreSignalParams {
pub params: cudaExternalSemaphoreSignalParams__bindgen_ty_1,
pub flags: c_uint,
pub reserved: [c_uint; 16],
}Expand description
External semaphore signal parameters, compatible with driver type.
Fields§
§params: cudaExternalSemaphoreSignalParams__bindgen_ty_1Payload for the signal 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 signaling 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 cudaExternalSemaphoreSignalParams
Auto Trait Implementations§
impl !Send for cudaExternalSemaphoreSignalParams
impl !Sync for cudaExternalSemaphoreSignalParams
impl Forget for cudaExternalSemaphoreSignalParams
impl Freeze for cudaExternalSemaphoreSignalParams
impl Move for cudaExternalSemaphoreSignalParams
impl RefUnwindSafe for cudaExternalSemaphoreSignalParams
impl Unpin for cudaExternalSemaphoreSignalParams
impl UnsafeUnpin for cudaExternalSemaphoreSignalParams
impl UnwindSafe for cudaExternalSemaphoreSignalParams
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