Adding asynchronous execution as it improves the performance.

This commit is contained in:
Mehdi Goli
2016-12-14 17:38:53 +00:00
parent 2d4a091beb
commit 730eb9fe1c
5 changed files with 12 additions and 10 deletions

View File

@@ -54,7 +54,7 @@ void run(Expr &expr, Dev &dev) {
}
});
});
dev.synchronize();
dev.asynchronousExec();
}
evaluator.cleanup();
}