cuda-ized version of the auction algo