Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Small typo in WarpMergeSort example #517

Closed
Kh4ster opened this issue Jun 27, 2022 · 0 comments · Fixed by #518
Closed

Small typo in WarpMergeSort example #517

Kh4ster opened this issue Jun 27, 2022 · 0 comments · Fixed by #518

Comments

@Kh4ster
Copy link

Kh4ster commented Jun 27, 2022

In the example here : https://nvlabs.github.io/cub/class_warp_merge_sort.html

Your defining:
using WarpMergeSortT = cub::WarpMergeSort<int, items_per_thread, warp_threads>;

Then using:
__shared__ typename WarpMergeSort::TempStorage temp_storage[warps_per_block];

When it should be:
__shared__ typename WarpMergeSortT::TempStorage temp_storage[warps_per_block];

@gevtushenko gevtushenko linked a pull request Jun 27, 2022 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant