aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/test
diff options
context:
space:
mode:
authorGravatar Thales Sabino <thales@codeplay.com>2020-06-05 14:04:22 +0100
committerGravatar Rasmus Munk Larsen <rmlarsen@google.com>2020-06-05 20:51:20 +0000
commit1fcaaf460fc4d3a78a42619005a1fb5c4a3dd6ca (patch)
treeae2673285529190eb61bcd9c1dc7409d1ea5808a /unsupported/test
parent3ce18d3c8f22cdb4a36cb1563f14a2a0f285f28c (diff)
Update FindComputeCpp.cmake to fix build problems on Windows
- Use standard types in SYCL/PacketMath.h to avoid compilation problems on Windows - Add EIGEN_HAS_CONSTEXPR to cxx11_tensor_argmax_sycl.cpp to fix build problems on Windows
Diffstat (limited to 'unsupported/test')
-rw-r--r--unsupported/test/cxx11_tensor_argmax_sycl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/unsupported/test/cxx11_tensor_argmax_sycl.cpp b/unsupported/test/cxx11_tensor_argmax_sycl.cpp
index 41ea3cf7b..7ac71286e 100644
--- a/unsupported/test/cxx11_tensor_argmax_sycl.cpp
+++ b/unsupported/test/cxx11_tensor_argmax_sycl.cpp
@@ -16,6 +16,7 @@
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE int64_t
#define EIGEN_USE_SYCL
+#define EIGEN_HAS_CONSTEXPR 1
#include "main.h"