mirror of
https://github.com/ml-explore/mlx.git
synced 2025-06-25 18:11:15 +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:
|
case Device::gpu:
|
||||||
return gpu::is_available();
|
return gpu::is_available();
|
||||||
}
|
}
|
||||||
|
// appease compiler
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace mlx::core
|
} // namespace mlx::core
|
||||||
|
Loading…
Reference in New Issue
Block a user