Skip to main content

LaneTaskRunner

Trait LaneTaskRunner 

Source
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§

Source

fn run_task(&self, task: usize) -> i64

Run one task and return its generated-code status (zero on success).

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§