Skip to content

Commit b01b6f5

Browse files
Merge pull request #7 from charmplusplus/ExerciseUpdates
OddEven Rephrasing
2 parents f3263e5 + 1d494b3 commit b01b6f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/exercises/oddevensort.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<h1>Chare Arrays: Odd-Even Sort Exercise</h1>
1414

15-
<p>A mainchare has a chare array of size N. Each chare in the array generates its own random number. The array must be sorted in N steps, where at each step, each chare may communicate with at most one of its neighbors (i.e. on an 'odd' step adjacent chares are paired in one fashion, and on an 'even' step the pairing is switched). No barriers are allowed, and there is only one reduction, at the end, which checks that the elements have been properly sorted.</p>
15+
<p>A mainchare has a chare array of size N. Each chare in the array generates its own random number, with a unique seed. The array must be sorted in N steps, where at each step, each chare may communicate with at most one of its neighbors (i.e. on an 'odd' step adjacent chares are paired in one fashion, and on an 'even' step the pairing is switched). No barriers are allowed, and there is only one reduction, at the end, which checks that the elements have been properly sorted. No global synchronizations are allowed during iterations, the objective of the assignment is to learn to handle asynchrony.</p>
1616

1717
<p> For example: </p>
1818
<p> Even steps: 0--1 2--3 4--5 6--7 </p>

0 commit comments

Comments
 (0)