#[repr(C)]pub struct CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st {
pub params: CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st__bindgen_ty_1,
pub flags: c_uint,
pub reserved: [c_uint; 16],
}
Expand description
External semaphore wait parameters
Fields§
§params: CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st__bindgen_ty_1
§flags: c_uint
Only when ::CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS is used to wait on a ::CUexternalSemaphore of type ::CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_NVSCISYNC, the valid flag is ::CUDA_EXTERNAL_SEMAPHORE_WAIT_SKIP_NVSCIBUF_MEMSYNC which indicates that while waiting for the ::CUexternalSemaphore, no memory synchronization operations should be performed for any external memory object imported as ::CU_EXTERNAL_MEMORY_HANDLE_TYPE_NVSCIBUF. For all other types of ::CUexternalSemaphore, flags must be zero.
reserved: [c_uint; 16]
Trait Implementations§
Source§impl Clone for CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st
impl Clone for CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st
Source§fn clone(&self) -> CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st
fn clone(&self) -> CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st
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 CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st
Auto Trait Implementations§
impl Freeze for CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st
impl RefUnwindSafe for CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st
impl !Send for CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st
impl !Sync for CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st
impl Unpin for CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st
impl UnwindSafe for CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st
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