#[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 cudaLaunchAttributeID::cudaLaunchAttributeProgrammaticEvent with the following fields:
cudaEvent_tevent - Event to fire when all blocks trigger it.intflags; - Event record flags, seecudaEventRecordWithFlags. Does not acceptcudaEventRecordExternal.inttriggerAtBlockStart - If this is set to non-0, each block launch will automatically trigger the event.
Fields§
§event: cudaEvent_tEvent to fire when all blocks trigger it.
flags: c_intEvent record flags, see cudaEventRecordWithFlags. Does not accept cudaEventRecordExternal.
triggerAtBlockStart: c_intIf this is set to non-0, each block launch will automatically trigger the event.
Trait Implementations§
Auto Trait Implementations§
impl !Send for cudaLaunchAttributeValue__bindgen_ty_2
impl !Sync for cudaLaunchAttributeValue__bindgen_ty_2
impl Forget for cudaLaunchAttributeValue__bindgen_ty_2
impl Freeze for cudaLaunchAttributeValue__bindgen_ty_2
impl Move for cudaLaunchAttributeValue__bindgen_ty_2
impl RefUnwindSafe for cudaLaunchAttributeValue__bindgen_ty_2
impl Unpin for cudaLaunchAttributeValue__bindgen_ty_2
impl UnsafeUnpin 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