compute
compute copied to clipboard
Implement the shuffle() algorithm
Implement the shuffle()
algorithm from the C++11 STL. This should take one of the Boost.Compute random number generators and perform all the computation/shuffling on the GPU.
See: http://en.cppreference.com/w/cpp/algorithm/shuffle