Question: Global Sum example: The assigned questions is: I'm having a hard time understanding what my_first_i and my_last_i are! Thank you!! my-s u m = 0;
Global Sum example:

The assigned questions is:

I'm having a hard time understanding what my_first_i and my_last_i are!
Thank you!!
my-s u m = 0; my-first-i = . my-last-i = . . . s m Compute-n ext-value ( . my-x; . ) ; my.x my-sum . Here the prefix my- indicates that each core is using its own, private variables, and each core can execute this block of code independently of the other cores. my-s u m = 0; my-first-i = . my-last-i = . . . s m Compute-n ext-value ( . my-x; . ) ; my.x my-sum . Here the prefix my- indicates that each core is using its own, private variables, and each core can execute this block of code independently of the other cores
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
