#[repr(C)]pub struct cudaLaunchAttributeValue__bindgen_ty_2 {
pub event: cudaEvent_t,
pub flags: c_int,
pub triggerAtBlockStart: c_int,
}
Expand description
Value of launch attribute ::cudaLaunchAttributeProgrammaticEvent with the following fields: - \p cudaEvent_t event - Event to fire when all blocks trigger it. - \p int flags; - Event record flags, see ::cudaEventRecordWithFlags. Does not accept ::cudaEventRecordExternal. - \p int triggerAtBlockStart - If this is set to non-0, each block launch will automatically trigger the event.
Fields§
§event: cudaEvent_t
§flags: c_int
§triggerAtBlockStart: c_int
Trait Implementations§
Source§impl Clone for cudaLaunchAttributeValue__bindgen_ty_2
impl Clone for cudaLaunchAttributeValue__bindgen_ty_2
Source§fn clone(&self) -> cudaLaunchAttributeValue__bindgen_ty_2
fn clone(&self) -> cudaLaunchAttributeValue__bindgen_ty_2
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 cudaLaunchAttributeValue__bindgen_ty_2
Auto Trait Implementations§
impl Freeze for cudaLaunchAttributeValue__bindgen_ty_2
impl RefUnwindSafe for cudaLaunchAttributeValue__bindgen_ty_2
impl !Send for cudaLaunchAttributeValue__bindgen_ty_2
impl !Sync for cudaLaunchAttributeValue__bindgen_ty_2
impl Unpin for cudaLaunchAttributeValue__bindgen_ty_2
impl UnwindSafe for cudaLaunchAttributeValue__bindgen_ty_2
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