Why when I used this two global function, I got different results?

FindMax does also not work correctly. You do not compute the max of all values. It is just coincidence for your specific input and number of threads.

1 Like