mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-18 10:26:56 +08:00
Fix format / build (#489)
This commit is contained in:
@@ -19,4 +19,10 @@ std::function<void()> make_task(
|
||||
"[metal::make_task] Cannot make GPU task without metal backend");
|
||||
}
|
||||
|
||||
// No cache for CPU only
|
||||
bool cache_enabled(void) {
|
||||
return false;
|
||||
}
|
||||
void set_cache_enabled(bool) {}
|
||||
|
||||
} // namespace mlx::core::metal
|
||||
|
Reference in New Issue
Block a user