This forum has been archived. All content is frozen. Please use KDE Discuss instead.

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

Tags: None
(comma "," separated)
dangqingqing
Registered Member
Posts
2
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.


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]