pub trait LaneTaskRunner: Sync {
// Required method
fn run_task(&self, task: usize) -> i64;
}Expand description
Executes the tasks of one kernel.
run_task is called concurrently for tasks of different lanes, which the
schedule guarantees to have no conflicting state accesses.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".