pub trait Destination:
Send
+ Sync
+ 'static {
type Arg<E: Numeric>: LaunchArg + CubeType;
// Required methods
fn tile<E: Numeric, V: Size>(
arg: &Self::Arg<E>,
partitioning: &Partitioning,
) -> Tile;
fn __expand_tile<E: Numeric, V: Size>(
scope: &Scope,
arg: &<Self::Arg<E> as CubeType>::ExpandType,
partitioning: &<Partitioning as CubeType>::ExpandType,
) -> <Tile as CubeType>::ExpandType;
}Expand description
Which launch argument carries a kernel’s output and how the kernel serves it as a Tile.
Required Associated Types§
Required Methods§
Sourcefn tile<E: Numeric, V: Size>(
arg: &Self::Arg<E>,
partitioning: &Partitioning,
) -> Tile
fn tile<E: Numeric, V: Size>( arg: &Self::Arg<E>, partitioning: &Partitioning, ) -> Tile
Serve the argument as a Tile under the kernel’s one partitioning, stored in lines of
V where the argument does not state its own width.
fn __expand_tile<E: Numeric, V: Size>( scope: &Scope, arg: &<Self::Arg<E> as CubeType>::ExpandType, partitioning: &<Partitioning as CubeType>::ExpandType, ) -> <Tile as CubeType>::ExpandType
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".