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
This commit is contained in:
Thales Sabino
2020-06-05 14:04:22 +01:00
committed by Rasmus Munk Larsen
parent 3ce18d3c8f
commit 1fcaaf460f
5 changed files with 93 additions and 13 deletions

View File

@@ -16,6 +16,7 @@
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE int64_t
#define EIGEN_USE_SYCL
#define EIGEN_HAS_CONSTEXPR 1
#include "main.h"