![]() |
Home | Libraries | People | FAQ | More |
boost::compute::popcount
// In header: <boost/compute/functional/popcount.hpp> template<typename T> class popcount : public function< T(T)> { public: // construct/copy/destruct popcount(); };
Returns the number of non-zero bits in x
.
See the documentation for popcount() for more information.