Skip to content

euler357/matrixdotproduct

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Challenge to calculate the dot product of two matrices as fast as possible

Uses four different methods and times each one.

  • Single-Threaded using CPU
  • Single-Threaded using SSE 4.2
  • Multi-Threaded using CPU
  • Multi-Threaded using SSE 4.2

This shows examples of using:

  • malloc to allocate memory from the heap
  • pthreads for multi-threaded applications in Linux
  • Streaming SIMD Extensions (SSE 4.2)
  • rdtsc to time and profile different functions / algorithms

About

This is an example of how to do a matrix dot product as fast as possible using SIMD

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published