Trait cubecl_core::tune::AutotuneOperation

source ·
pub trait AutotuneOperation {
    // Required methods
    fn execute(self: Box<Self>);
    fn clone(&self) -> Box<dyn AutotuneOperation>;

    // Provided method
    fn name(&self) -> &str { ... }
}
Expand description

Contains operation to run and inputs on which to run it

Required Methods§

source

fn execute(self: Box<Self>)

Runs the operation

source

fn clone(&self) -> Box<dyn AutotuneOperation>

Clones the operation and inputs

Provided Methods§

source

fn name(&self) -> &str

The name of the operation.

Implementors§