First,
"~/p/s/p/test_data (master)> cat ~/.volk/volk_config | grep volk_32fc_index_max_16u
volk_32fc_index_max_16u a_sse3 generic"
I did "vector[996] = gr_complex(1,1);" and it resulted in argmax 996 (correct result).
Same results when setting any single sample between 996 to 999.
But - when I set 995 to (1,1), argmax returns 992 (?!)
When I set 992 to (1,1), argmax returns 992.
When I set 991, argmax returns 888.
When I set sample #2, argmax returns 0.
So the pattern seems to be:
Return the first index of the quartet that contains the biggest sample.