pub struct MatrixDesc { /* private fields */ }Expand description
Matrix-distribution descriptor.
Implementations§
Source§impl MatrixDesc
impl MatrixDesc
pub fn new( num_rows: i64, num_cols: i64, row_block_size: i64, col_block_size: i64, data_type: cudaDataType, grid: &DeviceGrid, ) -> Result<Self>
pub fn as_raw(&self) -> cudaLibMgMatrixDesc_t
Trait Implementations§
Source§impl Debug for MatrixDesc
impl Debug for MatrixDesc
Auto Trait Implementations§
impl Freeze for MatrixDesc
impl RefUnwindSafe for MatrixDesc
impl !Send for MatrixDesc
impl !Sync for MatrixDesc
impl Unpin for MatrixDesc
impl UnsafeUnpin for MatrixDesc
impl UnwindSafe for MatrixDesc
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