How can I implement divide and conquer functions, and will the independent parts be run in parallel (on GPU) #6719
Unanswered
AdrienCorenflos
asked this question in
Q&A
Replies: 1 comment 1 reply
-
The issue here is that |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a use case where I want to implement a recursive function which would look similar to the below:
This however does not finish the way I would have expected. Is there a way for me to adapt the code to make it work? And would the splitted operations then run in parallel? I think the most similar thing that exists in the code base is the
associative_scan
which seems to not have a lazy condition. Should I make mycond
not lazy?Note that my real use case actually uses the
switch
functionality, notcond
So it would actually look more like the below
Beta Was this translation helpful? Give feedback.
All reactions