Skip to main content

AutotuneOutput

Trait AutotuneOutput 

Source
pub trait AutotuneOutput: Send + 'static {
    // Provided method
    fn validate_for_tuning(
        &self,
        _other: &Self,
        _absolute: f64,
        _relative: f64,
        _max_bytes: u64,
    ) -> Result<bool, String> { ... }
}
Expand description

The trait to be implemented by an autotune output.

Provided Methods§

Source

fn validate_for_tuning( &self, _other: &Self, _absolute: f64, _relative: f64, _max_bytes: u64, ) -> Result<bool, String>

Fallible correctness gate for stack autotuning. Ok(false) explicitly means that this output has no validator; a successful launch alone is NOT a correctness check. Existing implementers need not add a method. Strict stack policy rejects unsupported output.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl AutotuneOutput for ()

Implementors§