Skip to content

Task3#3

Open
ibmpowerpc wants to merge 8 commits into
mainfrom
task3
Open

Task3#3
ibmpowerpc wants to merge 8 commits into
mainfrom
task3

Conversation

@ibmpowerpc

Copy link
Copy Markdown
Collaborator

Usage: streamConvolution options_list
Arguments:
input-dir -> Input directory with grayscale BMP images { String }
output-dir -> Output directory for BMP images { String }
kernels -> Comma-separated kernel list (optional) { String }
Options:
--compose-kernels [false] -> Compose several kernels into one larger matrix before execution
--convolution-mode [sequential] -> Sequential or parallel convolution inside each worker { Value should be one of [sequential, parallel] }
--convolution-workers [8] -> Number of pipeline workers that process images { Int }
--read-queue-capacity [8] -> Capacity of the queue between reader and convolution workers { Int }
--write-queue-capacity [8] -> Capacity of the queue between convolution workers and writer { Int }
--strategy [rows] -> Parallel partition strategy for inner convolution { Value should be one of [pixels, rows, columns, grid] }
--threads [8] -> Thread count for inner parallel convolution { Int }
--grid [2x2] -> Grid partition in ROWSxCOLUMNS form for inner parallel convolution { String }
--tile -> Tile size in WIDTHxHEIGHT form for inner parallel convolution { String }
--help, -h -> Usage info

Example: ./gradlew streamConvolution --args="images build/stream-output gaussian3 --convolution-workers=4 --read-queue-capacity=2 --write-queue-capacity=2"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant