mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 11:49:02 +08:00
Fixed the code that disables the use of variadic templates when compiling with nvcc on ARM devices.
This commit is contained in:
parent
d69946183d
commit
5cc0dd5f44
@ -356,7 +356,7 @@
|
|||||||
#if __cplusplus > 199711L
|
#if __cplusplus > 199711L
|
||||||
// Disable the use of variadic templates when compiling with nvcc on ARM devices:
|
// Disable the use of variadic templates when compiling with nvcc on ARM devices:
|
||||||
// this prevents nvcc from crashing when compiling Eigen on Tegra X1
|
// 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
|
#define EIGEN_HAS_VARIADIC_TEMPLATES 1
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user