#[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_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 waiting for 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 cudaExternalSemaphoreWaitParams
impl Clone for cudaExternalSemaphoreWaitParams
Source§fn clone(&self) -> cudaExternalSemaphoreWaitParams
fn clone(&self) -> cudaExternalSemaphoreWaitParams
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 cudaExternalSemaphoreWaitParams
Auto Trait Implementations§
impl Freeze for cudaExternalSemaphoreWaitParams
impl RefUnwindSafe for cudaExternalSemaphoreWaitParams
impl !Send for cudaExternalSemaphoreWaitParams
impl !Sync for cudaExternalSemaphoreWaitParams
impl Unpin 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