Translation of call with cyclically distributed actual
Source:
!HPF$ PROCESSORS P(4)
REAL A(50)
!HPF$ DISTRIBUTE A(CYCLIC) ONTO P
CALL INIT(A)
Translation:
Procs1 p(4);
CyclicRange x(50, p.dim(0));
float* a = new float [x.volume()];
Map maps [1];
maps [0] = Map(x, 1);
DAD dad(1, p, maps);
init(a, &dad);
Previous slide
Next slide
Back to first slide
View graphic version