Toward a Polynomial Model, Season III
Polynomial Code Generation Paul Feautrier1 Albert Cohen2 Alain Darte3
1Ecole Normale Sup´
erieure de Lyon
2Equipe INRIA Parkas 3Xilinx and CNRS
January 15, 2018
1 / 11
Toward a Polynomial Model, Season III Polynomial Code Generation - - PowerPoint PPT Presentation
Toward a Polynomial Model, Season III Polynomial Code Generation Paul Feautrier 1 Albert Cohen 2 Alain Darte 3 1 Ecole Normale Sup erieure de Lyon 2 Equipe INRIA Parkas 3 Xilinx and CNRS January 15, 2018 1 / 11 Polynomials Everywhere The
1Ecole Normale Sup´
2Equipe INRIA Parkas 3Xilinx and CNRS
1 / 11
◮ If present in the source e.g. when computing distances ◮ After evalation of induction variables ◮ After linearization of arrays ◮ When counting messages, operations, memory cells .... 2 / 11
3 / 11
4 / 11
reset writer task stream reader task read pointer write pointer synchronization
stream s, t; task reset{ write once into s; //theta() = 0 } for(i=0;;i++) task writer{ //theta(i) = i+1 read once from s; write once into s; write once into t; } for(i=0;; i++) task reader{ //theta(i) = i+2 read once from t; }
5 / 11
6 / 11
thread barrier
7 / 11
8 / 11
9 / 11
10 / 11
◮ A projection algorithm (CAD ?) and a transitive closure
◮ A counting algorithm ◮ A polynomial version of the Cousot-Halbwachs algorithm.
11 / 11