The language provides a uniform programming model for both shared and distributed memory hardware. The programmer is presented with a single shared, partitioned address space, where variables may be directly read and written by any processor, but each variable is physically associated with a single processor. UPC uses a Single Program Multiple Data (SPMD) model of computation in which the amount of parallelism is fixed at program start-up time, typically with a single thread of execution per processor.
In order to express parallelism, UPC extends ISO C 99 with the following constructs:
UPC combines the programmability advantages of the shared memory programming paradigm and the control over data layout and performance of the message passing programming paradigm.
Berkeley UPC is a high-performance, portable and fully open-source implementation of the UPC language designed for large-scale multiprocessors, PC clusters, and clusters of shared memory multiprocessors. Berkeley UPC is the first UPC implementation available for Mac OS X, and delivers competetive performance for supercomputing applications on the largest OS X clusters in the world, yet also provides support for UPC code development on Mac OS X laptops and desktop workstations.
Updated on May 06 2014
Comments
User Ratings