generalize gpu backend

This commit is contained in:
Awni Hannun 2025-04-29 16:05:41 -07:00
parent 6151995219
commit be1d68e1ad

View File

@ -40,6 +40,8 @@ bool is_available(const Device& d) {
case Device::gpu:
return gpu::is_available();
}
// appease compiler
return false;
}
} // namespace mlx::core