bs::sum doesn't exist?
kamirr opened this issue · 0 comments
kamirr commented
I've tried #include<boost/simd/function/sum.hpp>
(which says that the file doesn't exist) and #include<boost/simd/reduction.hpp>
, which resulted in error saying that sum
is not a member of boost::simd
.
#include <boost/simd/pack.hpp>
#include <boost/simd/reduction.hpp>
int main() {
boost::simd::pack<float, 2> p;
p[0] = 1;
p[1] = 1;
std::cout << boost::simd::sum(p) << std::endl;
}
There's nothing about bs::sum
being removed in the documentation and I believe that it's a crucial feature in this library.