mirror of
https://github.com/ml-explore/mlx.git
synced 2025-10-29 23:15:09 +08:00
Shared events for synchronization + async eval (#998)
* more async eval * fix rebase * try correct async eval * fix async * more tests for async eval * use shared events for synchronization * comment + cleanup * with autorelease pool * fix no metal build * fix compile * fix patch * don't eval if asyn evale'd * don't use is_evaled * comments * more multi stream tests * try and cleanup use of is_evaled * use a status flag
This commit is contained in:
@@ -49,7 +49,6 @@ TEST_CASE("test arg reduce small") {
|
||||
{0, 2, 1, 7, 5, -5, 0, 2, 1, 7, 5, -5,
|
||||
0, 2, 1, 7, 5, -5, 0, 2, 1, 7, 5, -5},
|
||||
{2, 3, 4});
|
||||
x.eval();
|
||||
test_arg_reduce_small(
|
||||
Device::cpu, x, ArgReduce::ArgMin, {2, 3}, 2, {0, 1, 3, 0, 1, 3});
|
||||
test_arg_reduce_small(
|
||||
|
||||
Reference in New Issue
Block a user