From 001f10e3c94608d74898e8911a8a42d3f0640a1a Mon Sep 17 00:00:00 2001 From: Eugene Zhulenev Date: Mon, 11 Mar 2019 09:43:33 -0700 Subject: [PATCH] Fix segfaults with cuda compilation --- unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h b/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h index 057e90e50..e2ff11129 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h @@ -317,7 +317,6 @@ class TensorExecutor class TensorExecutor { @@ -326,7 +325,7 @@ class TensorExecutor { static void run(const Expression& expr, const GpuDevice& device); }; - +#if defined(EIGEN_GPUCC) template struct EigenMetaKernelEval { static __device__ EIGEN_ALWAYS_INLINE