How Fast GPU Computation Can Be

A comparison of matrix arithmetic calculation in CPU and GPU with Python and PyTorch

Andrew Zhu (Shudong Zhu)
Towards Data Science
4 min readSep 27, 2022

--

How fast do GPU computation gains compare with CPU? In this article, I am going to test it out using Python and PyTorch Linear Transform functions.

Here are some of my test machine specs:

  • CPU: Intel i7 6700k (4c/8t)
  • GPU: RTX 3070 TI (6,144 CUDA cores and 192 Tensor cores)
  • RAM: 32G
  • OS: Windows 10

--

--