Struct cubecl_runtime::tune::LocalTuner
source · pub struct LocalTuner<AK: AutotuneKey, ID> { /* private fields */ }
Expand description
A local tuner allows to create a tuner for a specific key that can be different from the server key.
Implementations§
source§impl<AK: AutotuneKey, ID: Hash + PartialEq + Eq + Clone + Display> LocalTuner<AK, ID>
impl<AK: AutotuneKey, ID: Hash + PartialEq + Eq + Clone + Display> LocalTuner<AK, ID>
sourcepub fn execute<S, C>(
&self,
id: &ID,
client: &ComputeClient<S, C>,
autotune_operation_set: Box<dyn AutotuneOperationSet<AK>>,
)where
S: ComputeServer,
C: ComputeChannel<S>,
pub fn execute<S, C>(
&self,
id: &ID,
client: &ComputeClient<S, C>,
autotune_operation_set: Box<dyn AutotuneOperationSet<AK>>,
)where
S: ComputeServer,
C: ComputeChannel<S>,
Execute the best operation in the provided autotune operation set
Auto Trait Implementations§
impl<AK, ID> !Freeze for LocalTuner<AK, ID>
impl<AK, ID> !RefUnwindSafe for LocalTuner<AK, ID>
impl<AK, ID> Send for LocalTuner<AK, ID>where
ID: Send,
impl<AK, ID> Sync for LocalTuner<AK, ID>
impl<AK, ID> Unpin for LocalTuner<AK, ID>
impl<AK, ID> UnwindSafe for LocalTuner<AK, ID>where
ID: UnwindSafe,
AK: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more