diff --git a/mlx/device.cpp b/mlx/device.cpp index 5e9e7a430..ec17a509a 100644 --- a/mlx/device.cpp +++ b/mlx/device.cpp @@ -40,6 +40,8 @@ bool is_available(const Device& d) { case Device::gpu: return gpu::is_available(); } + // appease compiler + return false; } } // namespace mlx::core