Skip to content

"reduce_sum" parallel facility #1815

Description

@wds15

Description

For the purpose of running reverse mode autodiff using parallelism the reduce_sum function has been designed, see https://github.com/stan-dev/design-docs/blob/master/designs/0017-reduce_sum.md

This new function will allow to evaluate mapping a function to elements of an array and the results are then reduced through summing the results. Specifying this with reduce_sum will allow to run this operation in parallel.

Example

Please refer to the design document.

Expected Output

Results should be the same, we just get them faster whenever we can use multiple threads.

Current Version:

v3.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions