pub struct PerRowScale {
pub rows: i32,
pub scale_buf: GpuRef<f32>,
}Expand description
Per-row scaling factor: a vector of m scalars, one per row of
the matrix. Stored device-side; the caller passes a GpuRef<f32>
when the cuBLASLt descriptor accepts row-wise amax.
Fields§
§rows: i32§scale_buf: GpuRef<f32>Trait Implementations§
Source§impl Clone for PerRowScale
impl Clone for PerRowScale
Source§fn clone(&self) -> PerRowScale
fn clone(&self) -> PerRowScale
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 PerRowScale
impl !RefUnwindSafe for PerRowScale
impl Send for PerRowScale
impl Sync for PerRowScale
impl Unpin for PerRowScale
impl UnsafeUnpin for PerRowScale
impl !UnwindSafe for PerRowScale
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