Go backward to X-Net Communication
Go up to Top
Go forward to Example
plural int a, b;
xnetW.a = a;left shift
All active processors simultaneously transfer the values of their local variables to their left neighbors.
a = xnetE.a;left shift
Each active processor receives the new value for its local variable from the local variable of its right neighbor.
a = a+xnetE.b;
Each active processor increments its local variable by the value of the local variable of its right neighbor.