Skip to content

Conversation

@bashimao
Copy link
Collaborator

Now that the thrust dependency is fixed (and updated to a newer version), we can remove the boilerplate code we had before.

@github-actions
Copy link

@bashimao bashimao self-assigned this May 18, 2023
@bashimao bashimao requested a review from rhdong May 18, 2023 12:08
@bashimao bashimao added the bug Something isn't working label May 18, 2023
@bashimao
Copy link
Collaborator Author

Step 2 in to actually fix: #126

@bashimao bashimao force-pushed the simplify-thrust-invocations branch from a3b4ab4 to 40cd796 Compare May 29, 2023 09:24
@bashimao
Copy link
Collaborator Author

Updated.

thrust::device_ptr<int> d_src_offset_ptr(d_src_offset);

thrust::sort_by_key(thrust_par.on(stream), d_dst_ptr, d_dst_ptr + n,
thrust::sort_by_key(thrust::cuda::par_nosync.on(stream), d_dst_ptr, d_dst_ptr + n,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to change here. Currently, we can get successfully compile on both A100 and TH500.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants