diff options
author | Mehdi Goli <mehdi.goli@codeplay.com> | 2016-12-14 17:38:53 +0000 |
---|---|---|
committer | Mehdi Goli <mehdi.goli@codeplay.com> | 2016-12-14 17:38:53 +0000 |
commit | 730eb9fe1c0e0daa81aebbc4dbce52e185dda3dd (patch) | |
tree | f63b028b488991af4d1c59bdb611df7866005449 /unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h | |
parent | 2d4a091beb9e55664c1475137af7166d524cbc1d (diff) |
Adding asynchronous execution as it improves the performance.
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h index 7e3c73caf..f101601b6 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h @@ -347,7 +347,7 @@ template< typename Self, typename Output, typename Index, typename ContractT, ty /// End the kernel }); }); - self.device().synchronize(); + self.device().asynchronousExec(); } }; |