#include"hip_runtime.h" #include #include __device__ unsigned int test__popc(unsigned int input) { return hc::__popcount_u32_b32(input); }