Skip to content

Commit

Permalink
README updated for BFS, HSTI, HSTO, RSCD, RSCT, and SSSP
Browse files Browse the repository at this point in the history
  • Loading branch information
el1goluj committed Jun 13, 2017
1 parent 40b7136 commit ec5204c
Show file tree
Hide file tree
Showing 36 changed files with 480 additions and 0 deletions.
22 changes: 22 additions & 0 deletions CUDA-D-Sim/BFS/README
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,28 @@ For more options:
./bfs -h


Note:
The input folder contains two graphs from the 9th DIMACS Implementation Challenge
(http://www.dis.uniroma1.it/challenge9/download.shtml). This benchmark can use
any input graph, provided that the format is as follows:
(Beginning of the file)
#Nodes #Edges Source_node

A0 B0
A1 B1
...

C0 D0
C1 D1
...

Each tuple (Ai, Bi) represents one node. Each tuple (Cj, Dj) represents one edge.
Thus, the file contains the list of nodes, followed by the list of edges.
Ai indicates the position where the edges of node i start in the list of edges.
Bi means the number of edges of node i.
Cj is the node where edge j terminates (i.e., the head of the edge). Dj is the
cost of edge j.

Read more:
L. Luo, M. Wong, and W.-m. Hwu, “An effective GPU implementation of
breadth-first search,” in Proceedings of the 47th Design Automation Conference,
Expand Down
11 changes: 11 additions & 0 deletions CUDA-D-Sim/HSTI/README
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,14 @@ Execution instructions
For more options:

./hsti -h


Note:
The input folder contains one image from Van Hateren's natural image database
(http://www.kyb.tuebingen.mpg.de/?id=227). Image pixels are 12-bit depth. Thus,
for calculation of the B-bin histogram of an image, the corresponding histogram
bin is computed as ((pixel * B) >> 12).
Monochrome images from other databases or synthetic images can also be used. The
read input function (in main.cpp) might need to be changed accordingly. If image
pixels are b-bit depth and the histogram contains B bins, the histogram bin will
be computed as ((pixel * B) >> b).
11 changes: 11 additions & 0 deletions CUDA-D-Sim/HSTO/README
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,14 @@ Execution instructions
For more options:

./hsto -h


Note:
The input folder contains one image from Van Hateren's natural image database
(http://www.kyb.tuebingen.mpg.de/?id=227). Image pixels are 12-bit depth. Thus,
for calculation of the B-bin histogram of an image, the corresponding histogram
bin is computed as ((pixel * B) >> 12).
Monochrome images from other databases or synthetic images can also be used. The
read input function (in main.cpp) might need to be changed accordingly. If image
pixels are b-bit depth and the histogram contains B bins, the histogram bin will
be computed as ((pixel * B) >> b).
7 changes: 7 additions & 0 deletions CUDA-D-Sim/RSCD/README
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ For more options:
./rscd -h


Note:
The input folder contains a file with a list of flow vectors from a video frame
with the format (x, y, vx, vy). (x, y) is the tail of the vector, and (vx, vy) is
the head.
The input file could be synthetically generated with every x, y, vx, and vy within
frame dimensions.

Read more:
M. A. Fischler and R. C. Bolles, “Random sample consensus: a paradigm for model
fitting with applications to image analysis and automated cartography,”
Expand Down
7 changes: 7 additions & 0 deletions CUDA-D-Sim/RSCT/README
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ For more options:
./rsct -h


Note:
The input folder contains a file with a list of flow vectors from a video frame
with the format (x, y, vx, vy). (x, y) is the tail of the vector, and (vx, vy) is
the head.
The input file could be synthetically generated with every x, y, vx, and vy within
frame dimensions.

Read more:
M. A. Fischler and R. C. Bolles, “Random sample consensus: a paradigm for model
fitting with applications to image analysis and automated cartography,”
Expand Down
22 changes: 22 additions & 0 deletions CUDA-D-Sim/SSSP/README
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,28 @@ For more options:
./sssp -h


Note:
The input folder contains two graphs from the 9th DIMACS Implementation Challenge
(http://www.dis.uniroma1.it/challenge9/download.shtml). This benchmark can use
any input graph, provided that the format is as follows:
(Beginning of the file)
#Nodes #Edges Source_node

A0 B0
A1 B1
...

C0 D0
C1 D1
...

Each tuple (Ai, Bi) represents one node. Each tuple (Cj, Dj) represents one edge.
Thus, the file contains the list of nodes, followed by the list of edges.
Ai indicates the position where the edges of node i start in the list of edges.
Bi means the number of edges of node i.
Cj is the node where edge j terminates (i.e., the head of the edge). Dj is the
cost of edge j.

Read more:
L. Luo, M. Wong, and W.-m. Hwu, “An effective GPU implementation of
breadth-first search,” in Proceedings of the 47th Design Automation Conference,
Expand Down
22 changes: 22 additions & 0 deletions CUDA-D/BFS/README
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,28 @@ For more options:
./bfs -h


Note:
The input folder contains two graphs from the 9th DIMACS Implementation Challenge
(http://www.dis.uniroma1.it/challenge9/download.shtml). This benchmark can use
any input graph, provided that the format is as follows:
(Beginning of the file)
#Nodes #Edges Source_node

A0 B0
A1 B1
...

C0 D0
C1 D1
...

Each tuple (Ai, Bi) represents one node. Each tuple (Cj, Dj) represents one edge.
Thus, the file contains the list of nodes, followed by the list of edges.
Ai indicates the position where the edges of node i start in the list of edges.
Bi means the number of edges of node i.
Cj is the node where edge j terminates (i.e., the head of the edge). Dj is the
cost of edge j.

Read more:
L. Luo, M. Wong, and W.-m. Hwu, “An effective GPU implementation of
breadth-first search,” in Proceedings of the 47th Design Automation Conference,
Expand Down
11 changes: 11 additions & 0 deletions CUDA-D/HSTI/README
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,14 @@ Execution instructions
For more options:

./hsti -h


Note:
The input folder contains one image from Van Hateren's natural image database
(http://www.kyb.tuebingen.mpg.de/?id=227). Image pixels are 12-bit depth. Thus,
for calculation of the B-bin histogram of an image, the corresponding histogram
bin is computed as ((pixel * B) >> 12).
Monochrome images from other databases or synthetic images can also be used. The
read input function (in main.cpp) might need to be changed accordingly. If image
pixels are b-bit depth and the histogram contains B bins, the histogram bin will
be computed as ((pixel * B) >> b).
11 changes: 11 additions & 0 deletions CUDA-D/HSTO/README
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,14 @@ Execution instructions
For more options:

./hsto -h


Note:
The input folder contains one image from Van Hateren's natural image database
(http://www.kyb.tuebingen.mpg.de/?id=227). Image pixels are 12-bit depth. Thus,
for calculation of the B-bin histogram of an image, the corresponding histogram
bin is computed as ((pixel * B) >> 12).
Monochrome images from other databases or synthetic images can also be used. The
read input function (in main.cpp) might need to be changed accordingly. If image
pixels are b-bit depth and the histogram contains B bins, the histogram bin will
be computed as ((pixel * B) >> b).
7 changes: 7 additions & 0 deletions CUDA-D/RSCD/README
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ For more options:
./rscd -h


Note:
The input folder contains a file with a list of flow vectors from a video frame
with the format (x, y, vx, vy). (x, y) is the tail of the vector, and (vx, vy) is
the head.
The input file could be synthetically generated with every x, y, vx, and vy within
frame dimensions.

Read more:
M. A. Fischler and R. C. Bolles, “Random sample consensus: a paradigm for model
fitting with applications to image analysis and automated cartography,”
Expand Down
7 changes: 7 additions & 0 deletions CUDA-D/RSCT/README
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ For more options:
./rsct -h


Note:
The input folder contains a file with a list of flow vectors from a video frame
with the format (x, y, vx, vy). (x, y) is the tail of the vector, and (vx, vy) is
the head.
The input file could be synthetically generated with every x, y, vx, and vy within
frame dimensions.

Read more:
M. A. Fischler and R. C. Bolles, “Random sample consensus: a paradigm for model
fitting with applications to image analysis and automated cartography,”
Expand Down
22 changes: 22 additions & 0 deletions CUDA-D/SSSP/README
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,28 @@ For more options:
./sssp -h


Note:
The input folder contains two graphs from the 9th DIMACS Implementation Challenge
(http://www.dis.uniroma1.it/challenge9/download.shtml). This benchmark can use
any input graph, provided that the format is as follows:
(Beginning of the file)
#Nodes #Edges Source_node

A0 B0
A1 B1
...

C0 D0
C1 D1
...

Each tuple (Ai, Bi) represents one node. Each tuple (Cj, Dj) represents one edge.
Thus, the file contains the list of nodes, followed by the list of edges.
Ai indicates the position where the edges of node i start in the list of edges.
Bi means the number of edges of node i.
Cj is the node where edge j terminates (i.e., the head of the edge). Dj is the
cost of edge j.

Read more:
L. Luo, M. Wong, and W.-m. Hwu, “An effective GPU implementation of
breadth-first search,” in Proceedings of the 47th Design Automation Conference,
Expand Down
22 changes: 22 additions & 0 deletions CUDA-U-Sim/BFS/README
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,28 @@ For more options:
./bfs -h


Note:
The input folder contains two graphs from the 9th DIMACS Implementation Challenge
(http://www.dis.uniroma1.it/challenge9/download.shtml). This benchmark can use
any input graph, provided that the format is as follows:
(Beginning of the file)
#Nodes #Edges Source_node

A0 B0
A1 B1
...

C0 D0
C1 D1
...

Each tuple (Ai, Bi) represents one node. Each tuple (Cj, Dj) represents one edge.
Thus, the file contains the list of nodes, followed by the list of edges.
Ai indicates the position where the edges of node i start in the list of edges.
Bi means the number of edges of node i.
Cj is the node where edge j terminates (i.e., the head of the edge). Dj is the
cost of edge j.

Read more:
L. Luo, M. Wong, and W.-m. Hwu, “An effective GPU implementation of
breadth-first search,” in Proceedings of the 47th Design Automation Conference,
Expand Down
11 changes: 11 additions & 0 deletions CUDA-U-Sim/HSTI/README
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,14 @@ Execution instructions
For more options:

./hsti -h


Note:
The input folder contains one image from Van Hateren's natural image database
(http://www.kyb.tuebingen.mpg.de/?id=227). Image pixels are 12-bit depth. Thus,
for calculation of the B-bin histogram of an image, the corresponding histogram
bin is computed as ((pixel * B) >> 12).
Monochrome images from other databases or synthetic images can also be used. The
read input function (in main.cpp) might need to be changed accordingly. If image
pixels are b-bit depth and the histogram contains B bins, the histogram bin will
be computed as ((pixel * B) >> b).
11 changes: 11 additions & 0 deletions CUDA-U-Sim/HSTO/README
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,14 @@ Execution instructions
For more options:

./hsto -h


Note:
The input folder contains one image from Van Hateren's natural image database
(http://www.kyb.tuebingen.mpg.de/?id=227). Image pixels are 12-bit depth. Thus,
for calculation of the B-bin histogram of an image, the corresponding histogram
bin is computed as ((pixel * B) >> 12).
Monochrome images from other databases or synthetic images can also be used. The
read input function (in main.cpp) might need to be changed accordingly. If image
pixels are b-bit depth and the histogram contains B bins, the histogram bin will
be computed as ((pixel * B) >> b).
7 changes: 7 additions & 0 deletions CUDA-U-Sim/RSCD/README
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ For more options:
./rscd -h


Note:
The input folder contains a file with a list of flow vectors from a video frame
with the format (x, y, vx, vy). (x, y) is the tail of the vector, and (vx, vy) is
the head.
The input file could be synthetically generated with every x, y, vx, and vy within
frame dimensions.

Read more:
M. A. Fischler and R. C. Bolles, “Random sample consensus: a paradigm for model
fitting with applications to image analysis and automated cartography,”
Expand Down
7 changes: 7 additions & 0 deletions CUDA-U-Sim/RSCT/README
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ For more options:
./rsct -h


Note:
The input folder contains a file with a list of flow vectors from a video frame
with the format (x, y, vx, vy). (x, y) is the tail of the vector, and (vx, vy) is
the head.
The input file could be synthetically generated with every x, y, vx, and vy within
frame dimensions.

Read more:
M. A. Fischler and R. C. Bolles, “Random sample consensus: a paradigm for model
fitting with applications to image analysis and automated cartography,”
Expand Down
22 changes: 22 additions & 0 deletions CUDA-U-Sim/SSSP/README
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,28 @@ For more options:
./sssp -h


Note:
The input folder contains two graphs from the 9th DIMACS Implementation Challenge
(http://www.dis.uniroma1.it/challenge9/download.shtml). This benchmark can use
any input graph, provided that the format is as follows:
(Beginning of the file)
#Nodes #Edges Source_node

A0 B0
A1 B1
...

C0 D0
C1 D1
...

Each tuple (Ai, Bi) represents one node. Each tuple (Cj, Dj) represents one edge.
Thus, the file contains the list of nodes, followed by the list of edges.
Ai indicates the position where the edges of node i start in the list of edges.
Bi means the number of edges of node i.
Cj is the node where edge j terminates (i.e., the head of the edge). Dj is the
cost of edge j.

Read more:
L. Luo, M. Wong, and W.-m. Hwu, “An effective GPU implementation of
breadth-first search,” in Proceedings of the 47th Design Automation Conference,
Expand Down
22 changes: 22 additions & 0 deletions CUDA-U/BFS/README
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,28 @@ For more options:
./bfs -h


Note:
The input folder contains two graphs from the 9th DIMACS Implementation Challenge
(http://www.dis.uniroma1.it/challenge9/download.shtml). This benchmark can use
any input graph, provided that the format is as follows:
(Beginning of the file)
#Nodes #Edges Source_node

A0 B0
A1 B1
...

C0 D0
C1 D1
...

Each tuple (Ai, Bi) represents one node. Each tuple (Cj, Dj) represents one edge.
Thus, the file contains the list of nodes, followed by the list of edges.
Ai indicates the position where the edges of node i start in the list of edges.
Bi means the number of edges of node i.
Cj is the node where edge j terminates (i.e., the head of the edge). Dj is the
cost of edge j.

Read more:
L. Luo, M. Wong, and W.-m. Hwu, “An effective GPU implementation of
breadth-first search,” in Proceedings of the 47th Design Automation Conference,
Expand Down
11 changes: 11 additions & 0 deletions CUDA-U/HSTI/README
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,14 @@ Execution instructions
For more options:

./hsti -h


Note:
The input folder contains one image from Van Hateren's natural image database
(http://www.kyb.tuebingen.mpg.de/?id=227). Image pixels are 12-bit depth. Thus,
for calculation of the B-bin histogram of an image, the corresponding histogram
bin is computed as ((pixel * B) >> 12).
Monochrome images from other databases or synthetic images can also be used. The
read input function (in main.cpp) might need to be changed accordingly. If image
pixels are b-bit depth and the histogram contains B bins, the histogram bin will
be computed as ((pixel * B) >> b).
Loading

0 comments on commit ec5204c

Please sign in to comment.