Federico Squartini
Federico Squartini

Reputation: 1218

Dynamic programming in repa

Two related questions.

Upvotes: 6

Views: 325

Answers (1)

Ben Lippmeier
Ben Lippmeier

Reputation: 896

Repa is designed for bulk data parallel programming. It must be possible to compute array elements in arbitrary order, otherwise the Repa evaluation methods won't work.

If you want to destructively update an array element based on other array elements, then this constrains the evaluation order. If you can't express your algorithm in a bulk data parallel fashion then Repa isn't going to help you.

Upvotes: 5

Related Questions