Skip to content

Commit c1234c8

Browse files
committed
replace pdf images with png images
1 parent 1a9f4e5 commit c1234c8

File tree

5 files changed

+2
-2
lines changed

5 files changed

+2
-2
lines changed

doc/design/cpp_data_feeding.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ In this document, we show the fundamental design of a C++ data feeding process,
66

77
## Overview
88

9-
![](images/readers.pdf)
9+
![](images/readers.png)
1010

1111
## Reader
1212

@@ -85,7 +85,7 @@ All `FileReader` binds with a single file and are single-threaded. However, some
8585
8686
So `MultipleReader` is introduced. It is also derived from `ReaderBase`. A `MultipleReader` holds several prefetching `FileReaders` and these readers run concurrently. Another pivotal part of a `MultipleReader` is a buffer channel. The channel collects data yield by all prefetching readers and makes subsequent OPs or decorated readers be able to fetch data without concerning about multiple readers scheduling.
8787
88-
![](images/multiple_reader.pdf)
88+
![](images/multiple_reader.png)
8989
9090
This graph shows how a `MultipleReader` works with three prefetching file readers and two GPUs. There is a queue of files which are going to be read. Each time when a prefetching file reader is free(complete reading from one file), it fetches a new file from the queue. Each prefetching file reader runs in a separated prefetch thread and dumps their outputs to the same channel.
9191

doc/design/images/multiple_reader.pdf

-38 KB
Binary file not shown.

doc/design/images/multiple_reader.png

160 KB
Loading

doc/design/images/readers.pdf

-264 KB
Binary file not shown.

doc/design/images/readers.png

347 KB
Loading

0 commit comments

Comments
 (0)