pub struct KernelRecord {
pub name: String,
pub start_time: Instant,
pub duration: Duration,
pub grid_size: (u32, u32, u32),
pub block_size: (u32, u32, u32),
pub shared_memory: usize,
pub registers: u32,
pub memory_throughput: f64,
pub compute_utilization: f64,
}Expand description
Individual kernel execution record 個別カーネル実行記録
Fields§
§name: StringKernel name
start_time: InstantStart time
duration: DurationDuration
grid_size: (u32, u32, u32)Grid size
block_size: (u32, u32, u32)Block size
Shared memory used
registers: u32Registers per thread
memory_throughput: f64Memory throughput (GB/s)
compute_utilization: f64Compute utilization (%)
Trait Implementations§
Source§impl Clone for KernelRecord
impl Clone for KernelRecord
Source§fn clone(&self) -> KernelRecord
fn clone(&self) -> KernelRecord
Returns a duplicate of the value. Read more
1.0.0 · 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 KernelRecord
impl RefUnwindSafe for KernelRecord
impl Send for KernelRecord
impl Sync for KernelRecord
impl Unpin for KernelRecord
impl UnwindSafe for KernelRecord
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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