pub struct TiledArgs {
pub tile_size: Vec<u32>,
}Expand description
Args for tiled tensor maps
Fields§
§tile_size: Vec<u32>Tile size that’s loaded from memory in each copy operation. Must have rank elements.
In matmul, for example, this might be batch x m x k, or whatever the stage size is.
If a dimension isn’t present in the tile, it should just be set to 1.
For CUDA, this must be a power of two and <= 256 on each dimension.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TiledArgs
impl<'de> Deserialize<'de> for TiledArgs
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TiledArgs
impl StructuralPartialEq for TiledArgs
Auto Trait Implementations§
impl Freeze for TiledArgs
impl RefUnwindSafe for TiledArgs
impl Send for TiledArgs
impl Sync for TiledArgs
impl Unpin for TiledArgs
impl UnwindSafe for TiledArgs
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.