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

@@ -347,7 +347,7 @@ template< typename Self, typename Output, typename Index, typename ContractT, ty
/// End the kernel
});
});
self.device().synchronize();
self.device().asynchronousExec();
}
};