- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am trying to apply parallel_reduce on diffrent array at a same time.
suppose :
A[]={1,2,3,4,5};
B[]={10,20,30,40,50};
i want result=(1*10 + 2*20 + 3*30 + 4*40 + 5*50)
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Instead of a Range of pointers as in the examples in the Reference Manual, provide a Range of index values. In the Body or Func, have references to A and B, and use them with the current Range of index values.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page