Distributed Array Syntax: HPJava Compared to HPF
Procs p = new Procs1(4) ;
Range x = new BlockRange(100,p.dim(0));
new float [[x, 100]] on p ;
float [[]] b = new float [[x]] on p ;
!HPF$ DISTRIBUTE T(BLOCK) ONTO P
!HPF$ ALIGN A(:,*) WITH T(:)
!HPF$ ALIGN B(:) WITH T(:)