I also got a lot of similar errors "error: calling a __host_function("Eigen::Matrix<float, .........") from a __device__function("blockReduceSum<(int)29") is not allowed. My OS is ununtu 14.04, CUDA 8.0, Eigen 3.3.3, do you have any idead how to solve this problem? Thank you!