Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
NKNaN committed Apr 15, 2024
1 parent 1eb8f80 commit 172319b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/phi/kernels/gpu/argsort_kernel.cu
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ void ArgsortKernel(const Context& dev_ctx,
out_data,
out_data + size,
ids_data,
thrust::greater<KeyT>());
thrust::greater<T>());
} else {
thrust::stable_sort_by_key(
thrust::device, out_data, out_data + size, ids_data);
Expand Down

0 comments on commit 172319b

Please sign in to comment.