[][src]Trait accel::execution::Launchable0

pub trait Launchable0<'arg> {
    fn get_kernel(&self) -> Result<Kernel>;

    fn launch(
        &self,
        grid: impl Into<Grid>,
        block: impl Into<Block>,
        (): ()
    ) -> Result<()> { ... }
fn launch_async(
        &self,
        grid: impl Into<Grid>,
        block: impl Into<Block>,
        (): ()
    ) -> BoxFuture<'arg, Result<()>> { ... } }

Launchable Kernel with N-arguments

This is auto-generated by accel_derive::define_launchable! proc-macro. See module level document for detail.

Required methods

fn get_kernel(&self) -> Result<Kernel>

Loading content...

Provided methods

fn launch(
    &self,
    grid: impl Into<Grid>,
    block: impl Into<Block>,
    (): ()
) -> Result<()>

fn launch_async(
    &self,
    grid: impl Into<Grid>,
    block: impl Into<Block>,
    (): ()
) -> BoxFuture<'arg, Result<()>>

Loading content...

Implementors

Loading content...