From 730eb9fe1c0e0daa81aebbc4dbce52e185dda3dd Mon Sep 17 00:00:00 2001 From: Mehdi Goli Date: Wed, 14 Dec 2016 17:38:53 +0000 Subject: Adding asynchronous execution as it improves the performance. --- unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h') 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(); } }; -- cgit v1.2.3