Translation of call with strided alignment of actual
Source:
!HPF$ PROCESSORS P(4)
REAL A(100)
!HPF$ DISTRIBUTE A(BLOCK) ONTO P
CALL INIT(A(1:100:2))
Translation:
Procs1 p(4);
BlockRange x(100, p.dim(0));
float* a = new float [x.volume()];
// Create DAD for section a(::2)
Range x2 = x.subrng(50, 0, 2);
Map maps [1];
maps [0] = Map(x2, 1);
DAD dad(1, p, maps);
init(a, &dad);
Previous slide
Next slide
Back to first slide
View graphic version