aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/Core
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-10-19 12:56:12 -0700
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-10-19 12:56:12 -0700
commitd3943cd50c99d7169c3d5a1ea4aa4d8660190e2d (patch)
tree2081d7cc6e4c7edf618cf7728e5923f56e75547c /Eigen/Core
parent692b30ca95397cbb42c53c813cf5dd4b7f0acc8d (diff)
Fixed a few typos in the ternary tensor expressions types
Diffstat (limited to 'Eigen/Core')
-rw-r--r--Eigen/Core4
1 files changed, 4 insertions, 0 deletions
diff --git a/Eigen/Core b/Eigen/Core
index fcc107721..d4274770e 100644
--- a/Eigen/Core
+++ b/Eigen/Core
@@ -37,6 +37,10 @@
// All functions callable from CUDA code must be qualified with __device__
#define EIGEN_DEVICE_FUNC __host__ __device__
+ // We need math_functions.hpp to ensure that that EIGEN_USING_STD_MATH macro
+ // works properly on the device side
+ #include <math_functions.hpp>
+
#else
#define EIGEN_DEVICE_FUNC