Skip to content

Explore performance implications of various matrix multiplication approaches using GPU/CUDA compared to CPU side processing

License

Notifications You must be signed in to change notification settings

alignedalignof/cuda-matmul

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matrix multiplication with CUDA

Program to explore CUDA and GPU related performance characteristics when multiplying matrices. Following results are for multiplying 3073x3073 matrices on a i7-8750H CPU and a GTX1060 GPU.

Method Running time*, ms Kernel time, ms
CPU cell wise 121000 -
CPU layer wise 10900 -
GPU cell wise 326 311
GPU block wise 134 119
GPU layer wise 37.1 23.7
cuBLAS gemm 36.8 22.0

*For GPUs running time includes data download from the GPU

About

Explore performance implications of various matrix multiplication approaches using GPU/CUDA compared to CPU side processing

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published