Reply to topic

Bug reports: sum of Tensor failed in GPU + double + debug

dangqingqing
Registered Member
Posts
1
Karma
0
The reduce operation of sum failed with double type in GPU in debug mode compelling. And there is no problem for float type and there is no Operation in release compelling.
The error is :

Code: Select all
eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h:704: static bool Eigen::internal::OuterReducer<Self, Op, Eigen::GpuDevice>::run(const Self&, Op&, const Device&, OutputType*, typename Self::Index, typename Self::Index) [with Device = Eigen::GpuDevice; OutputType = double; Self = Eigen::TensorEvaluator<const Eigen::TensorReductionOp<Eigen::internal::SumReducer<double>, const Eigen::array<int, 1ul>, const Eigen::TensorMap<Eigen::Tensor<const double, 2, 1, long int>, 0, Eigen::MakePointer>, Eigen::MakePointer>, Eigen::GpuDevice>; Op = Eigen::internal::SumReducer<double>; typename Self::Index = long int]: Assertion `false && "Should only be called to reduce doubles or floats on a gpu device"' failed.

Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Exabot [Bot], Google [Bot], robertseetzen, Sogou [Bot], TheraHedwig, timescape, tosky, Yahoo [Bot]