A E i i l Ch t i ti f An Empirical Characterization of Stream Programs and its Implications g p for Language and Compiler Design
Bill Thies1 and Saman Amarasinghe2
1 Mi
f R h I di
1 Microsoft Research India 2 Massachusetts Institute of Technology
An Empirical Characterization of A E i i l Ch t i ti f - - PowerPoint PPT Presentation
An Empirical Characterization of A E i i l Ch t i ti f Stream Programs and its Implications g p for Language and Compiler Design Bill Thies 1 and Saman Amarasinghe 2 1 Mi 1 Microsoft Research India f R h I di 2 Massachusetts Institute
1 Mi
1 Microsoft Research India 2 Massachusetts Institute of Technology
2000 4000 6000 800010000 12000 14000 16000 18000 20000 22000 24000 26000 28000 30000 32000 34000
2000 4000 6000 800010000 12000 14000 16000 18000 20000 22000 24000 26000 28000 30000 32000 34000
2000 4000 6000 800010000 12000 14000 16000 18000 20000 22000 24000 26000 28000 30000 32000 34000
2000 4000 6000 800010000 12000 14000 16000 18000 20000 22000 24000 26000 28000 30000 32000 34000
2000 4000 6000 800010000 12000 14000 16000 18000 20000 22000 24000 26000 28000 30000 32000 34000
2000 4000 6000 800010000 12000 14000 16000 18000 20000 22000 24000 26000 28000 30000 32000 34000
AtoD
FMDemod
LPF Duplicate LPF LPF
LPF1 LPF2 LPF3 HPF1 HPF2 HPF3
RoundRobin HPF1 HPF2 HPF3 Adder RoundRobin Speaker
[Lee & Messerschmidt, 1987]
Input
1
x 10 1987]
Decimate
1 10
x 1
O tp t
1 1
x 1
Output x 1
i li filter
may be any StreamIt language
pipeline
construct
splitjoin
joiner splitter feedback loop joiner splitter
Splitter
Stateless
Joiner
Splitter
Joiner
– MPEG2: bit-alignment, reference frame encoding, motion prediction, … – HDTV: Pre-coding and Ungerboeck encoding g g g – HDTV + Trellis: Ungerboeck decoding – GSM: Feedback loops – Vocoder: Accumulator adaptive filter feedback loop – Vocoder: Accumulator, adaptive filter, feedback loop – OFDM: Incremental phase correction – Graphics pipelines: persistent screen buffers
– MPEG2: bit-alignment, reference frame encoding, motion prediction, … – HDTV: Pre-coding and Ungerboeck encoding g g g – HDTV + Trellis: Ungerboeck decoding – GSM: Feedback loops – Vocoder: Accumulator adaptive filter feedback loop – Vocoder: Accumulator, adaptive filter, feedback loop – OFDM: Incremental phase correction – Graphics pipelines: persistent screen buffers
1 2 3 4 5 6 7 8 9 10 11
1
3GPP, OFDM, Filterbank, TargetDetect, DToA, Mosaic, HDTV, FMRadio, JPEG decode / transcode, Vocoder g , , Oversampler, RateConvert, Vocoder, ChannelVocoder, FMRadio
FMRadio MP3: reordering (peek >1000) 802.11: error codes (peek 3-7) Vocoder / A.beam: skip data Channel Vocoder: sliding correlation (peek 100)
1 2 3 2 7 8 7 5
1 2
1 3
Step 1
Step 2