Fixed the code that disables the use of variadic templates when compiling with nvcc on ARM devices.

This commit is contained in:
Benoit Steiner 2016-02-09 10:32:01 -08:00
parent d69946183d
commit 5cc0dd5f44

View File

@ -356,7 +356,7 @@
#if __cplusplus > 199711L
// Disable the use of variadic templates when compiling with nvcc on ARM devices:
// this prevents nvcc from crashing when compiling Eigen on Tegra X1
#if !defined(__NVCC__) || !defined(EIGEN_ARCH_ARM_OR_ARM64)
#if !defined(__NVCC__) || !EIGEN_ARCH_ARM_OR_ARM64
#define EIGEN_HAS_VARIADIC_TEMPLATES 1
#endif
#endif