03.06.2015 Views

Problematiche di processamento ad alte prestazioni

Problematiche di processamento ad alte prestazioni

Problematiche di processamento ad alte prestazioni

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Control Flow Graph vs Data Flow Graph<br />

Input: a, b<br />

x= (a*(a+b)) + b<br />

y= (a+b) /x<br />

Output: x, y<br />

a<br />

DFG<br />

b<br />

CFG<br />

Rappresentano:<br />

- i canali attraverso cui i moduli<br />

si scambiano i dati<br />

- le <strong>di</strong>pendenze fra i <strong>di</strong>versi<br />

moduli<br />

+<br />

Moduli<br />

funzionali<br />

R1= a+b<br />

R2= a*R1<br />

Il transito dei token<br />

rappresenta il flusso dei<br />

dati lungo la computazione<br />

*<br />

x= R2+b<br />

/ +<br />

R3= a+b<br />

y= R3/x<br />

y<br />

x<br />

20

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!