Classifying interprocess communication in process network representation of nested-loop programs

  • Authors:
  • Alexandru Turjan;Bart Kienhuis;Ed Deprettere

  • Affiliations:
  • Leiden Institute of Advanced Computer Science (LIACS), Leiden, The Netherlands;Leiden Institute of Advanced Computer Science (LIACS), Leiden, The Netherlands;Leiden Institute of Advanced Computer Science (LIACS), Leiden, The Netherlands

  • Venue:
  • ACM Transactions on Embedded Computing Systems (TECS) - SPECIAL ISSUE SCOPES 2005
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

New embedded signal-processing architectures are emerging that are composed of loosely coupled heterogeneous components like CPUs or DSPs, specialized IP cores, reconfigurable units, or memories. We believe that these architectures should be programmed using the process network model of computation. To ease the mapping of applications, we are developing the Compaan compiler that automatically derives a process network (PN) description from an application written in Matlab or C. In this paper, we investigate a particular problem in nested loop programs, which is about classifying the interprocess communication in the PN representation of the nested loop program. The global memory arrays present in the code have to be replaced by a distributed communication structure used for communicating data between the network processes. We show that four types of communication exist, each exhibiting different requirements when realizing them in hardware or software. We first present two compile time tests that are based on integer linear programming to decide the type of the communication. In the second part of this paper, we present alternative classification techniques that have polynomial complexity. However, in some cases, those techniques do not give a definitive answer and the ILP tests have to be applied. All present tests are combined in a hybrid classification scheme that correctly classifies the interprocess communication. In only 5% of the cases to classify, we have to rely on integer linear programming while, in the remaining 95%, the alternative techniques presented in this paper are able to correctly classify each case. The hybrid classification scheme has become an important part of our Compaan compiler.