mirror of
https://github.com/ml-explore/mlx.git
synced 2025-10-20 01:18:12 +08:00
Metal validation (#432)
* tests clear metal validation * add cpp test with metal validation to circleci * nit
This commit is contained in:
@@ -38,6 +38,4 @@ TEST_CASE("test large allocations") {
|
||||
auto buffer = allocator::malloc(size);
|
||||
allocator::free(buffer);
|
||||
}
|
||||
// Shouldn't be able to allocate an exabyte anytime soon.
|
||||
CHECK_THROWS_AS(allocator::malloc(1ull << 60), std::runtime_error);
|
||||
}
|
||||
|
Reference in New Issue
Block a user