mirror of
https://github.com/ml-explore/mlx.git
synced 2025-06-24 17:31:16 +08:00
generalize gpu backend
This commit is contained in:
parent
6151995219
commit
be1d68e1ad
@ -40,6 +40,8 @@ bool is_available(const Device& d) {
|
||||
case Device::gpu:
|
||||
return gpu::is_available();
|
||||
}
|
||||
// appease compiler
|
||||
return false;
|
||||
}
|
||||
|
||||
} // namespace mlx::core
|
||||
|
Loading…
Reference in New Issue
Block a user