1 | HPJava |
2 | |
3 | Procs p = new Procs1(4) ; |
4 | Range x = new BlockRange(100,p.dim(0)); |
5 | |
6 | float [[,*]] a = new float [[x, 100]] on p ; |
7 | |
8 | float [[]] b = new float [[x]] on p ; |
9 | HPF |
10 | |
11 | !HPF$ PROCESSOR P(4) |
12 | !HPF$ DISTRIBUTE T(BLOCK) ONTO P |
13 | |
14 | REAL A(100,100) |
15 | !HPF$ ALIGN A(:,*) WITH T(:) |
16 | |
17 | REAL B(100) |
18 | !HPF$ ALIGN B(:) WITH T(:) |