diff options
author | Rasmus Munk Larsen <rmlarsen@google.com> | 2019-05-31 15:26:06 -0700 |
---|---|---|
committer | Rasmus Munk Larsen <rmlarsen@google.com> | 2019-05-31 15:26:06 -0700 |
commit | b08527b0c1ffdbd44347ca3a7869f10b0cb3cbb6 (patch) | |
tree | 0e96b895f59e4a77ca9880d2e219ffbde11680ac /Eigen/src/Core/Visitor.h | |
parent | 56144005811e3e5a76031ba0aac8a4e1fa3e3396 (diff) |
Clean up CUDA/NVCC version macros and their use in Eigen, and a few other CUDA build failures.
Diffstat (limited to 'Eigen/src/Core/Visitor.h')
-rw-r--r-- | Eigen/src/Core/Visitor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Eigen/src/Core/Visitor.h b/Eigen/src/Core/Visitor.h index f67d83bd1..67a69c54f 100644 --- a/Eigen/src/Core/Visitor.h +++ b/Eigen/src/Core/Visitor.h @@ -138,6 +138,7 @@ template <typename Derived> struct coeff_visitor { // default initialization to avoid countless invalid maybe-uninitialized warnings by gcc + EIGEN_DEVICE_FUNC coeff_visitor() : row(-1), col(-1), res(0) {} typedef typename Derived::Scalar Scalar; Index row, col; |