pub struct PtxInstruction {
pub predicate: Option<PtxPredicate>,
pub opcode: String,
pub type_suffix: Option<PtxType>,
pub modifiers: Vec<String>,
pub operands: Vec<PtxOperand>,
}Expand description
PTX instruction
Fields§
§predicate: Option<PtxPredicate>Optional predicate guard (@p or @!p)
opcode: StringOpcode (e.g., “add”, “ld”, “st”, “setp”, “bra”)
type_suffix: Option<PtxType>Type suffix (e.g., “.f32”, “.s32”)
modifiers: Vec<String>Modifier suffixes (e.g., “.rn”, “.uni”, “.wide”, “.lu”)
operands: Vec<PtxOperand>Operands
Trait Implementations§
Source§impl Clone for PtxInstruction
impl Clone for PtxInstruction
Source§fn clone(&self) -> PtxInstruction
fn clone(&self) -> PtxInstruction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PtxInstruction
impl RefUnwindSafe for PtxInstruction
impl Send for PtxInstruction
impl Sync for PtxInstruction
impl Unpin for PtxInstruction
impl UnsafeUnpin for PtxInstruction
impl UnwindSafe for PtxInstruction
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