public int PopCountParallel2() { int counter = 0; for (int i = 0; i < N / 2; i++) { counter += BitCountHelper.PopCountParallel2(numbers[i], numbers[i + 1]); } return(counter); }
public int PopCount4() { int counter = 0; for (int i = 0; i < N; i++) { counter += BitCountHelper.PopCount4(numbers[i]); } return(counter); }