Skip to content

Commit 97f940b

Browse files
[rocm-libraries] ROCm/rocm-libraries#9011 (commit 481ed45)
docs(rocprim): update benchmark instructions ## Motivation I had forgotten to update the `## Running benchmarks` section of rocPRIM's readme, back when I created my PR [feat(rocprim): use primbench in rocPRIM](ROCm/rocm-libraries#2687). ## Technical Details See the `Files changed` tab of this PR. ## Test Plan Check that the documentation renders correctly and that all added URLs work. ## Test Result The documentation [renders correctly](https://github.com/ROCm/rocm-libraries/blob/users/mynameistrez/update-benchmark-instructions/projects/rocprim/README.md#running-benchmarks), and I checked that the added URLs redirect to the correct page when clicked. ## Submission Checklist - [x] Look over the contributing guidelines at https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests. Closes #9012
1 parent 1707496 commit 97f940b

1 file changed

Lines changed: 6 additions & 14 deletions

File tree

README.md

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -247,24 +247,16 @@ static constexpr unsigned int seeds [] = {};
247247

248248
## Running benchmarks
249249

250+
rocPRIM uses [primbench](https://github.com/ROCm/rocm-libraries/tree/develop/shared/primbench) for benchmarking; see its [command-line options](https://github.com/ROCm/rocm-libraries/tree/develop/shared/primbench#command-line-options).
251+
250252
```shell
251253
# Go to rocPRIM build directory
252254
cd rocPRIM; cd build
253255

254-
# To run benchmark for warp functions:
255-
# Further option can be found using --help
256-
# [] Fields are optional
257-
./benchmark/benchmark_warp_<function_name> [--size <size>] [--trials <trials>]
258-
259-
# To run benchmark for block functions:
260-
# Further option can be found using --help
261-
# [] Fields are optional
262-
./benchmark/benchmark_block_<function_name> [--size <size>] [--trials <trials>]
263-
264-
# To run benchmark for device functions:
265-
# Further option can be found using --help
266-
# [] Fields are optional
267-
./benchmark/benchmark_device_<function_name> [--size <size>] [--trials <trials>]
256+
# To run benchmarks for warp, block, or device functions:
257+
./benchmark/benchmark_warp_<function_name>
258+
./benchmark/benchmark_block_<function_name>
259+
./benchmark/benchmark_device_<function_name>
268260
```
269261

270262
### Performance configuration

0 commit comments

Comments
 (0)