The Data Parallel programming model is conceptually simple and provides powerful programming primitives AS in shared memory models of computation. With an appropriate underlying architecture, primitives requiring global memory accesses do not require significantly longer execution times than primitives only requiring local accesses. In the data parallel programming model primitives are also available for expressing simple forms of local data interaction in relative coordinates, as for instance required in relaxation on multidimensional lattices.
The Connection Machine is a data parallel computer. In this paper we describe some of the data parallel aspects of the programming languages provided on the Connection Machine, comment upon the implementation of level-1 and level-2 BLAS, and describe the implementation of one level-3 BLAS function, matrix multiplication, in detail. For matrices of the size of the machine, or larger, only the kernel function is required. The kernel matrix multiplication yields a performance of up tp 5.2 Gflops in single precision on the CM-2 with the floating-point option. For matrices considerably smaller than the machine, all three nested loops in a Fortran 77 program can be parallelized, and expressed with a few instructions without any loop constructs.
Part of ISBN 978-1-4684-7076-5; 978-1-4684-7074-1
QC 20260803