#[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_1
§flags: c_uint
Only when ::cudaExternalSemaphoreSignalParams is used to signal a ::cudaExternalSemaphore_t of type ::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 ::cudaExternalMemoryHandleTypeNvSciBuf. For all other types of ::cudaExternalSemaphore_t, flags must be zero.
reserved: [c_uint; 16]
Trait Implementations§
Source§impl Clone for cudaExternalSemaphoreSignalParams
impl Clone for cudaExternalSemaphoreSignalParams
Source§fn clone(&self) -> cudaExternalSemaphoreSignalParams
fn clone(&self) -> cudaExternalSemaphoreSignalParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for cudaExternalSemaphoreSignalParams
Auto Trait Implementations§
impl Freeze for cudaExternalSemaphoreSignalParams
impl RefUnwindSafe for cudaExternalSemaphoreSignalParams
impl !Send for cudaExternalSemaphoreSignalParams
impl !Sync for cudaExternalSemaphoreSignalParams
impl Unpin 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