Skip to main content

KernelLaunch

Trait KernelLaunch 

Source
pub trait KernelLaunch: Send + Sync {
    // Required method
    fn name(&self) -> &str;

    // Provided method
    fn occupancy_hint(&self) -> u32 { ... }
}
Expand description

A pre-translated kernel ready to be launched. Backends extend this with the actual function pointer / pipeline state.

Required Methods§

Source

fn name(&self) -> &str

Provided Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§