Transparent Gif

Department of Computer Science

University of California, Santa Barbara

Abstract

Exploiting Commuting Operations in Parallelizing Serial Programs

by: Pedro Diniz and Martin Rinard

Abstract:

Two operations commute if the result of their execution is independent of theorder in which they execute. Commuting operations can be executed concurrentlyprovided they execute atomically on the objects they access. Staticallyrecognizing commuting operations is of great interest because they increase theamount of concurrency a compiler can exploit. In this document we introducecommutativity analysis - a new technique for automatically parallelizing serialprograms. We then conduct a feasibility study of existing scientificapplications as to the existence and exploitability of commuting operations.We study the commuting operations present in one such application - theBarnes-Hut hierarchical N-body algorithm. We then parallelize this applicationusing knowledge of commuting operations and present performance results of theparallel code for a shared-memory multiprocessor.

Keywords:

Barnes-Hut N-body solver, Commutativity Analysis, ParallelizingCompilers

Date:

January 1995

Document: 1995-11

XHTML Validation | CSS Validation
Updated 14-Nov-2005
Questions should be directed to: webmaster@cs.ucsb.edu