pub struct RuntimeArgsCompilationArg {
pub size_m: <u32 as LaunchArgExpand>::CompilationArg,
pub size_n: <u32 as LaunchArgExpand>::CompilationArg,
pub size_k: <u32 as LaunchArgExpand>::CompilationArg,
pub padded_channels: <FastDivmod as LaunchArgExpand>::CompilationArg,
pub out_h: <FastDivmod as LaunchArgExpand>::CompilationArg,
pub out_w: <FastDivmod as LaunchArgExpand>::CompilationArg,
}
Fields§
§size_m: <u32 as LaunchArgExpand>::CompilationArg
§size_n: <u32 as LaunchArgExpand>::CompilationArg
§size_k: <u32 as LaunchArgExpand>::CompilationArg
§padded_channels: <FastDivmod as LaunchArgExpand>::CompilationArg
§out_h: <FastDivmod as LaunchArgExpand>::CompilationArg
§out_w: <FastDivmod as LaunchArgExpand>::CompilationArg
Trait Implementations§
Source§impl Clone for RuntimeArgsCompilationArg
impl Clone for RuntimeArgsCompilationArg
Source§impl CompilationArg for RuntimeArgsCompilationArg
impl CompilationArg for RuntimeArgsCompilationArg
Source§fn dynamic_cast<Arg>(&self) -> Argwhere
Arg: CompilationArg,
fn dynamic_cast<Arg>(&self) -> Argwhere
Arg: CompilationArg,
Compilation args should be the same even with different element types. However, it isn’t
possible to enforce it with the type system. So, we make the compilation args serializable
and dynamically cast them. Read more
Source§impl Debug for RuntimeArgsCompilationArg
impl Debug for RuntimeArgsCompilationArg
Source§impl<'de> Deserialize<'de> for RuntimeArgsCompilationArg
impl<'de> Deserialize<'de> for RuntimeArgsCompilationArg
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
Source§impl Hash for RuntimeArgsCompilationArg
impl Hash for RuntimeArgsCompilationArg
impl Eq for RuntimeArgsCompilationArg
Auto Trait Implementations§
impl Freeze for RuntimeArgsCompilationArg
impl RefUnwindSafe for RuntimeArgsCompilationArg
impl Send for RuntimeArgsCompilationArg
impl Sync for RuntimeArgsCompilationArg
impl Unpin for RuntimeArgsCompilationArg
impl UnwindSafe for RuntimeArgsCompilationArg
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