18
Get Processor Number + Arrangement
•The number of processors and their arrangement is given by the programmer on the command line •For the purpose of [understanding] allocation, processors are viewed as being arranged in grids … this is simply an abstraction:
P2
P1
P3
P0
P4
P5
P6
P7
P2
P1
P3
P0
P4
P5
P6
P7
P4
P5
P6
P7
P2
P1
P3
P0
The CTA does not favor any arrangement, so use a generic one