pub enum Opcode {
Show 44 variants
Ld,
St,
Mov,
Cvta,
Cvt,
Add,
Sub,
Mul,
Div,
Rem,
Mad,
Fma,
Neg,
Abs,
Min,
Max,
And,
Or,
Xor,
Not,
Shl,
Shr,
Setp,
Selp,
Bra,
Call,
Ret,
Exit,
Bar,
MemBar,
Atom,
Red,
Tex,
Tld4,
Suld,
Sust,
Shfl,
Vote,
Mma,
Wmma,
LdMatrix,
Cp,
Prefetch,
Unknown,
}Expand description
PTX Opcodes
Variants§
Ld
Load
St
Store
Mov
Move
Cvta
Convert address space
Cvt
Convert type
Add
Add
Sub
Subtract
Mul
Multiply
Div
Divide
Rem
Remainder
Mad
Multiply-add
Fma
Fused multiply-add
Neg
Negate
Abs
Absolute value
Min
Minimum
Max
Maximum
And
Bitwise AND
Or
Bitwise OR
Xor
Bitwise XOR
Not
Bitwise NOT
Shl
Shift left
Shr
Shift right
Setp
Set predicate
Selp
Select
Bra
Branch
Call
Call function
Ret
Return
Exit
Exit kernel
Bar
Barrier
MemBar
Memory barrier
Atom
Atomic operation
Red
Reduction operation
Tex
Texture load
Tld4
Texture load 4
Suld
Surface load
Sust
Surface store
Shfl
Warp shuffle
Vote
Warp vote
Mma
Matrix multiply-accumulate
Wmma
Warp MMA
LdMatrix
Load matrix
Cp
Copy (async)
Prefetch
Prefetch
Unknown
Unknown opcode
Implementations§
Trait Implementations§
impl Copy for Opcode
impl Eq for Opcode
impl StructuralPartialEq for Opcode
Auto Trait Implementations§
impl Freeze for Opcode
impl RefUnwindSafe for Opcode
impl Send for Opcode
impl Sync for Opcode
impl Unpin for Opcode
impl UnsafeUnpin for Opcode
impl UnwindSafe for Opcode
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