@@ -992,10 +992,10 @@ void HostAgentAPI::sort_async(const std::string & variable1, Order order1, const
992992 // pair sort values
993993 if (order2 == Asc) {
994994 thrust::stable_sort_by_key (thrust::cuda::par.on (stream), thrust::device_ptr<Var2T>(keys2), thrust::device_ptr<Var2T>(keys2 + agentCount),
995- thrust::device_ptr<unsigned int >(vals), thrust ::less<Var2T >());
995+ thrust::device_ptr<unsigned int >(vals), std ::less<>());
996996 } else {
997997 thrust::stable_sort_by_key (thrust::cuda::par.on (stream), thrust::device_ptr<Var2T>(keys2), thrust::device_ptr<Var2T>(keys2 + agentCount),
998- thrust::device_ptr<unsigned int >(vals), thrust ::greater<Var2T >());
998+ thrust::device_ptr<unsigned int >(vals), std ::greater<>());
999999 }
10001000 gpuErrchkLaunch ();
10011001 // sort keys1 based on this order
@@ -1006,10 +1006,10 @@ void HostAgentAPI::sort_async(const std::string & variable1, Order order1, const
10061006 // pair sort
10071007 if (order1 == Asc) {
10081008 thrust::stable_sort_by_key (thrust::cuda::par.on (stream), thrust::device_ptr<Var1T>(keys1), thrust::device_ptr<Var1T>(keys1 + agentCount),
1009- thrust::device_ptr<unsigned int >(vals), thrust ::less<Var1T >());
1009+ thrust::device_ptr<unsigned int >(vals), std ::less<>());
10101010 } else {
10111011 thrust::stable_sort_by_key (thrust::cuda::par.on (stream), thrust::device_ptr<Var1T>(keys1), thrust::device_ptr<Var1T>(keys1 + agentCount),
1012- thrust::device_ptr<unsigned int >(vals), thrust ::greater<Var1T >());
1012+ thrust::device_ptr<unsigned int >(vals), std ::greater<>());
10131013 }
10141014 gpuErrchkLaunch ();
10151015 }
0 commit comments