Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix autotune compilation on WASM #249

Merged
merged 2 commits into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions crates/cubecl-runtime/src/tune/local.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ impl<AK: AutotuneKey + 'static, ID: Hash + PartialEq + Eq + Clone + Display> Loc
TuneCacheResult::Pending => {
// We're waiting for results to come in.
}
#[cfg(autotune_persistent_cache)]
TuneCacheResult::Unchecked => {
panic!("Should have checked the cache already.")
}
Expand All @@ -142,7 +141,6 @@ impl<AK: AutotuneKey + 'static, ID: Hash + PartialEq + Eq + Clone + Display> Loc
TuneCacheResult::Miss => {
panic!("Should have at least started autotuning");
}
#[cfg(autotune_persistent_cache)]
TuneCacheResult::Unchecked => {
panic!("Should have checked the cache.")
}
Expand Down
1 change: 0 additions & 1 deletion crates/cubecl-runtime/src/tune/tune_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ pub enum TuneCacheResult {
fastest_index: usize,
},
/// The operation might be cached, but we don't know yet whether the checksum is valid.
#[cfg(autotune_persistent_cache)]
Unchecked,
/// We don't know yet what is fastest, but are waiting for a result to come in.
Pending,
Expand Down