Declaring Parallel Variables
Shape Declaration
Gives the compiler clues on partitioning
Uses left indexing followed by shape name
shape [10]Sb, [50][30]Sc
Variable declaration
Declare type and shape of each variable
int ai1:Sb, ai2:Sc
Previous slide
Next slide
Back to first slide
View graphic version