pub struct PtxModule {
pub version: String,
pub target: String,
pub address_size: u32,
pub directives: Vec<PtxDirective>,
}Expand description
PTX module — top-level compilation unit
Fields§
§version: StringPTX ISA version (e.g., “7.8”)
target: StringTarget architecture (e.g., “sm_80”)
address_size: u32Address size in bits (32 or 64)
directives: Vec<PtxDirective>Top-level directives (functions, variables, etc.)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PtxModule
impl RefUnwindSafe for PtxModule
impl Send for PtxModule
impl Sync for PtxModule
impl Unpin for PtxModule
impl UnsafeUnpin for PtxModule
impl UnwindSafe for PtxModule
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