Gedae Advanced Course Extra Tokens at EOS - PowerPoint PPT Presentation

1 / 7
About This Presentation
Title:

Gedae Advanced Course Extra Tokens at EOS

Description:

The segment length may not be an even multiple of the decimate rate ... Default behavior is to drop the remaining tokens. segmenter. in. c. out. e. f. b. c. d. pad ... – PowerPoint PPT presentation

Number of Views:18
Avg rating:3.0/5.0
Slides: 8
Provided by: kerrybri
Category:

less

Transcript and Presenter's Notes

Title: Gedae Advanced Course Extra Tokens at EOS


1
Gedae Advanced CourseExtra Tokens at EOS
  • Kerry Barnes
  • (856) 231-4458
  • gedae_at_gedae.com

2
Segmentation and Granularity
  • Segmented subgraph inputs may have a non-integer
    decimate rate the number of tokens needed to
    execute at the natural granularity
  • The segment length may not be an even multiple of
    the decimate rate
  • Default behavior is to drop the remaining tokens

processed
segmenter
s_v
in
out
in
out
e
f
g
h
a
b
c
d
e
f
b
c
d
g
c
N
4
1
1
1
0
0
1
1
1
dropped
3
Segmentation and Granularity
  • This filter processes multiples of N-Ovl data
    samples
  • Data that cant be processed is dropped at the
    end-of-segment

4
Segmentation and Granularity
  • At eos excess tokens that cant be processed are
    drained
  • The natural granularity is 1536 so 368 of the
    1904 tokens left at eos are drained
  • Red dot on s_xltin queue represents a draining
    event

5
Segmentation and Padding
  • Segmented subgraph inputs may have a non-integer
    decimate rate the number of tokens needed to
    execute at the natural granularity
  • The segment length may not be an even multiple of
    the decimate rate
  • Default behavior is to drop the remaining tokens

Multiple of 4 required
segmenter
pad
in
out
in
out
e
f
b
c
d
g
e
f
b
c
d
g
0
0
c
Padding input
6
Segmentation and Padding
  • A padding input prevents tokens from being
    dropped at eos
  • At eos pad box consumes remaining tokens but
    fires at its natural granularity
  • pad box is informed as to the number of valid
    tokens on its input queue
  • It zero fills output to snap up to full
    granularity

Pad fires at natural granularity of 1536
Available 368 tokens consumed at eos
7
Pad Box
  • Name pad
  • Type static
  • Input
  • padding stream float in
  • Output
  • stream float out
  • Include
  • include lte_vmov.hgt
  • include lte_vclr.hgt
  • Apply
  • int ain avail(in)
  • e_vmov(in,1,out,1,ain)
  • e_vclr(outain,1,granularity-ain)

Keyword padding marks stream as a padding
stream The avail function tells how many input
tokens are available Valid tokens are copied from
input to output At EOS when ain!granularity the
final granularityain tokens are cleared on output
Write a Comment
User Comments (0)
About PowerShow.com