GPUBench

Compare GPUs using standard numerical benchmarks in MATLAB.

24.8K Downloads

Updated 27 Apr 2021

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

GPUBENCH times different MATLAB GPU tasks and estimates the peak performance of your GPU in floating-point operations per second (FLOP/s). It produces a detailed HTML report showing how your GPU's performance compares to pre-stored performance results from a range of other GPUs.
Note that this tool is designed for comparing GPU hardware. It does not compare GPU performance across different MATLAB releases.
Requires MATLAB R2016b or above and a GPU with CUDA Compute Capability 2.0 or higher.

Cite As

MathWorks Parallel Computing Toolbox Team (2023). GPUBench (https://www.mathworks.com/matlabcentral/fileexchange/34080-gpubench), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021a
Compatible with R2016b and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
2.1

Fix string issues with MATLAB version R2016b.

2.0

- Update stored data to have one JSON file per device
- Add data-file links to the summary report to make sharing results easier
- Add line styles to report plots better differentiate results when more than 8 devices are plotted

1.12.0.0

Update reference data for R2018a to R2020b.
Update report style.
Make summary table sortable.
Remove the warning in report when the data was generated using a different release to the client's.

1.11.0.0

Update report style.
Remove warning about old pre-stored results.

1.10.0.0

Update R2017b data file
Fix a problem with the data location when running the app in R2014b
Add data files for R2017a

1.9.0.0

* Improve compatibility with MATLAB R2014b
* Update gpuBench with data for R2014b,...,R2016a
* Clean gpuBench code by using gputimeit and by removing dead code
* Make gpuBench robust when running MATLAB with -nodesktop or -nojvm

1.8.0.0

Fix recursion problems when using the MATLAB App version.

1.7.0.0

* Add datafile for R2013b

1.6.0.0

* Add results for R2013a (including K20!)

1.5.0.0

* Suppressed warnings about results being skipped
* Now includes a set of pre-stored host-PC data so that you get a rough CPU/GPU comparison when just viewing the report
* Reduced largest size used for MTIMES to avoid out of memory

1.4.0.0

* Add an "app" version for use with R2012b and above
* Updated data-files for R2012a and R2012b

1.2.0.0

Try to prevent timeout being hit on very slow GPUs that happen to be driving the display as well.

1.1.0.0

Add data for C2075

1.0.0.0