-
Notifications
You must be signed in to change notification settings - Fork 449
Docs update: how to use dynamic shared mem with block reduce #348
Docs update: how to use dynamic shared mem with block reduce #348
Conversation
No problem, our docs framework is a work-in-progress. This should improve soon.
I agree, this would be better to have a complete example under the |
Sure, I'll add it as soon as I get some time for it (probably tomorrow). |
Sorry for the delay, but I finally got to doing this and added the full example. |
Unfortunately, our docs build is broken at the moment, so we can't really test this out just yet. NVIDIA/thrust#1475 is working on restoring it. It might be best to just mention the name of the example without a link. Doxygen provides the
Agreed -- could you update this PR to do so? |
Yes, I slightly reformulated the docs such that it should be clear where to find the example in case the tags don't work. And I added this example along with the short description to all block-wide operations except for |
@senior-zero is currently working on I should be able to get this merged in the next few days. |
Made some minor modifications. Started tests in NVIDIA/thrust#1504. |
As mentioned in #344, I created this PR to add a simple example of how to correctly use dynamic shared memory with
BlockReduce
.I hope I followed the PR process correctly, I wasn't able to re-build the docs because the full build (for thrust) took longer than my allocated time on the machine when I was working on this, and I'm not familiar enough with the build process s.t. I can simply only build the docs for cub.
I'll amend the pull request, of course, if needed.
Plus, do you want me to add a similar example to classes like
BlockScan
? In this case, it may be better to add an actual example file and link to it from the various inline docs.