pub struct CudaExecutionStats { /* private fields */ }Expand description
CUDA execution counters exposed for dispatch observability.
Implementations§
Source§impl CudaExecutionStats
impl CudaExecutionStats
Sourcepub fn kernel_dispatches(self) -> usize
pub fn kernel_dispatches(self) -> usize
Total kernel dispatch count.
Sourcepub fn copy_kernel_dispatches(self) -> usize
pub fn copy_kernel_dispatches(self) -> usize
Copy-kernel dispatch count.
Sourcepub fn decode_kernel_dispatches(self) -> usize
pub fn decode_kernel_dispatches(self) -> usize
Hardware decode dispatch count.
Sourcepub fn used_hardware_decode(self) -> bool
pub fn used_hardware_decode(self) -> bool
True when a hardware decode path was used.
Trait Implementations§
Source§impl Clone for CudaExecutionStats
impl Clone for CudaExecutionStats
Source§fn clone(&self) -> CudaExecutionStats
fn clone(&self) -> CudaExecutionStats
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 moreimpl Copy for CudaExecutionStats
Source§impl Debug for CudaExecutionStats
impl Debug for CudaExecutionStats
Source§impl Default for CudaExecutionStats
impl Default for CudaExecutionStats
Source§fn default() -> CudaExecutionStats
fn default() -> CudaExecutionStats
Returns the “default value” for a type. Read more
impl Eq for CudaExecutionStats
Source§impl PartialEq for CudaExecutionStats
impl PartialEq for CudaExecutionStats
impl StructuralPartialEq for CudaExecutionStats
Auto Trait Implementations§
impl Freeze for CudaExecutionStats
impl RefUnwindSafe for CudaExecutionStats
impl Send for CudaExecutionStats
impl Sync for CudaExecutionStats
impl Unpin for CudaExecutionStats
impl UnsafeUnpin for CudaExecutionStats
impl UnwindSafe for CudaExecutionStats
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