Fix format / build (#489)

This commit is contained in:
Awni Hannun
2024-01-18 10:01:59 -08:00
committed by GitHub
parent a749a91c75
commit 3d99a8d31d
2 changed files with 17 additions and 10 deletions

View File

@@ -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