Skip to content

Include initial value of reduction variable in reduction #1226

Answered by illuhad
jolly-chen asked this question in Q&A
Discussion options

You must be logged in to vote

Your are correct with everything you say. Our reduction implementation is not yet complete. You could work around the issue by having e.g. work item 0 fetch the result of the previous reduction, and add it to the current reduction.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jolly-chen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants