pub enum PtxDirective {
Entry(PtxFunction),
Function(PtxFunction),
GlobalVar(PtxVariable),
ConstVar(PtxVariable),
SharedVar(PtxVariable),
}Expand description
PTX top-level directive
Variants§
Entry(PtxFunction)
Kernel entry point (.entry)
Function(PtxFunction)
Device function (.func)
GlobalVar(PtxVariable)
Global variable (.global)
ConstVar(PtxVariable)
Constant variable (.const)
Shared variable (.shared)
Trait Implementations§
Source§impl Clone for PtxDirective
impl Clone for PtxDirective
Source§fn clone(&self) -> PtxDirective
fn clone(&self) -> PtxDirective
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 PtxDirective
impl RefUnwindSafe for PtxDirective
impl Send for PtxDirective
impl Sync for PtxDirective
impl Unpin for PtxDirective
impl UnsafeUnpin for PtxDirective
impl UnwindSafe for PtxDirective
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