pub struct PtxAnalysis {
pub total_instructions: u32,
pub memory_ops: u32,
pub compute_ops: u32,
pub control_ops: u32,
pub sync_ops: u32,
pub shared_ops: u32,
pub registers_declared: u32,
pub has_wmma: bool,
pub has_fma: bool,
pub compute_memory_ratio: f64,
pub warnings: Vec<String>,
}Expand description
Result of PTX static analysis.
Fields§
§total_instructions: u32§memory_ops: u32§compute_ops: u32§control_ops: u32§sync_ops: u32§registers_declared: u32§has_wmma: bool§has_fma: bool§compute_memory_ratio: f64§warnings: Vec<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for PtxAnalysis
impl RefUnwindSafe for PtxAnalysis
impl Send for PtxAnalysis
impl Sync for PtxAnalysis
impl Unpin for PtxAnalysis
impl UnsafeUnpin for PtxAnalysis
impl UnwindSafe for PtxAnalysis
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more