From 9ea39ce13c453127844cff474730af119e889cd1 Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Fri, 23 Oct 2015 09:15:34 -0700 Subject: Refined the #ifdef __CUDACC__ guard to ensure that when trying to compile gpu code with a non cuda compiler results in a linking error instead of bogus code. --- unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h index 17f10c07b..7b2485fb7 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h @@ -106,7 +106,7 @@ template class TensorDevice class TensorDevice { public: -- cgit v1.2.3