mirror of
https://github.com/ml-explore/mlx.git
synced 2025-10-17 06:38:38 +08:00
catch stream errors earlier to avoid aborts (#1801)
This commit is contained in:
@@ -421,6 +421,9 @@ TEST_CASE("test random normal") {
|
||||
}
|
||||
|
||||
TEST_CASE("test random multivariate_normal") {
|
||||
// Scope switch to the cpu for SVDs
|
||||
StreamContext sc(Device::cpu);
|
||||
|
||||
{
|
||||
auto mean = zeros({3});
|
||||
auto cov = eye(3);
|
||||
|
Reference in New Issue
Block a user