Are my GPU results reasonable?
2 views (last 30 days)
Show older comments
Hello there.
I was trying to run
this example to see results of a quick benchmark on CPU and GPU. After it's completed, my CPU results at Read+Write and Double Precision Matrix Multiplication seemed weird to me.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/233634/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/233635/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/233636/image.png)
After that, I tried the benchmark provided by MathWorks Parallel Computing Toolbox Team, which was given at following link.
Results from that benchmark is below.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/233637/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/233638/image.png)
Is everything alright with my CPU and GPU? It seems that my GPU is slower than CPU at double precision operations. Since my GPU(GTX 1050 Ti) is not an outdated GPU, its results at double precision seems wrong to me. Maybe I am wrong or can you provide me any better benchmark(s) to diagnose if there is a problem or not.
System specifications:
- Operating System: Windows 10 Pro 64-bit
- Processor: Intel(R) Core(TM) i7-7700HQ CPU @2.80GHz (8 CPUs)
- Memory: 16384MB RAM
- GPU: NVIDIA GeForce GTX 1050 Ti
0 Comments
Answers (1)
Jason Ross
on 13 Aug 2019
Edited: Jason Ross
on 13 Aug 2019
Looking at the Wikipedia page for NVidia GeForce 10 series GPUs, the benchmark results seem to agree. The double precision GFLOPS number published there is 61.9 GFLOPS for the base clock and 66.8 GFLOPS for the boost clock. The single results are also close to your results -- 1981.4 and 2138.1 respectively -- but these are many times faster than the doubles. If you look at the other GTX cards in the table you will see that this trend continues for other cards in the GeForce 10 family -- the single performance is many multiples faster than doubles.
1 Comment
Joss Knight
on 13 Aug 2019
To elaborate on Jason's answer, this is perfectly normal. The GTX range are primarily targeted at high performance graphics and only really optimize single precision computation, which graphics uses. They are usually very slow at double precision, and are commonly out-performed by a multi-core CPU system.
See Also
Categories
Find more on Get Started with GPU Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!