does 'paralleldemo_gpu_benchmark.m' compare a gpu to a single host core?
then the processing benchmark is biased since host processing with a lot of host cores should outperform gpu double precision by far

댓글 수: 1

Walter Roberson
Walter Roberson 2026년 8월 25일 19:59
It depends on what hardware you have.
AMD Instinct MI300X Delivers 163.4 TFLOPS for FP64... and goes for about $US39000
NVIDIA H100 (SXM): 67 TFLOPS using its dedicated double-precision Tensor Cores... and goes for about $US31000
The double precision floating point performance of the newer GeForce GPUs is not especially high, as they are intended for gaming and AI, neither of which use much FP64.

댓글을 달려면 로그인하십시오.

답변 (2개)

Walter Roberson
Walter Roberson 2026년 8월 21일 0:18

0 개 추천

No, that benchmark does not compare to host processing speed at all.
Sean Sullivan
Sean Sullivan 2026년 8월 25일 9:20
편집: Walter Roberson 2026년 8월 25일 19:28

0 개 추천

The example ( https://www.mathworks.com/help/parallel-computing/measuring-gpu-performance.html ) is intended to allow you to measure some performance characteristics of your GPU and make some comparisons to your CPU, so I don't see how it could be biased. It makes some very general conclusions:
  • Transfers from host memory to GPU memory and back are relatively slow.
  • The GPU can read and write its memory much faster than the host CPU can read and write its memory.
  • Given large enough data, a GPU can perform calculations faster than the host CPU.
  • GPUs perform calculations faster in single precision than double precision, and often much faster.
If your CPU outperforms your GPU for your particular calculations, then use your CPU.

카테고리

도움말 센터File Exchange에서 GPU Computing에 대해 자세히 알아보기

질문:

2026년 8월 20일 22:13

댓글:

2026년 8월 25일 19:59

Community Treasure Hunt

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

Start Hunting!

Translated by