Add support for GUPS benchmark #49
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This MR adds GUPS code to
code-samples. Our version of GUPS is a GPU random access benchmark. It supports testing random access performance for both global memory and shared memory. The benchmark supports read, write, read_write, updates (with/without loops) access types.Besides the CUDA code for benchmarking (
gups.cu), we also provide aMakefileand a Python script (run.py) for running tests in batch.The GUPS implementation in
gups.cuwas modified based on open-sourced code. The license of the code is maintained inLICENSE.gups.cu. For the license information of other files, please refer toLICENSE.