The virtual array software allows you to program with virtual arrays, that is arrays with dimensions that exceed the physical dimensions of the MasPar. For example, the machine may be configured with an array of 128 by 128 processing elements, while the virtual array is defined to be 512 by 512 elements.
The virtualization is accomplished by means of a preprocessor. After preprocessing a source file containing directives for virtualization, an mpl source file is produced. Thus the preprocessor simply relieves the programmer of the tedious task of coding the loop structures needed to process plural arrays whose sizes are multiples of the physical array size.
Associated with the virtualization are routines for the display of images which are stored as virtual arrays. These routines are defined in the file image.txt.
This package contains the following source modules:
Introduction to coding using cut-and-stack virtualization
The preprocessor for MPL programs containing virtual constructs (".v" modules)
Header file to be included in .v programs includes definition of size of virtual array
Routines to perform virtual array shifting
Host side for i-o of arrays between disk and PEs
MasPar side for i-o of arrays between disk and PEs
Permutation routines for image reformatting
Routine for reformatting images between MasPar (hierarchical) and cut-and-stack virtualization
Routine for typing out contents of virtual arrays
How to use winprt