Skip to content

πŸ“Š Comparing C Intel vector intrinsics vs. Numba + LLVM's auto-vectorization

Notifications You must be signed in to change notification settings

laurenarnett/simd-studies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

19 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Benchmarking SIMD

Comparison of how fast Numba's autovectorization can achieve with respect to Intel C vector intrinsics. Read my blog post for more details on my experience working with Numba! https://laurenar.net/posts/python-simd/

Array Sum

array_sum

Array Sum with Filter

array_sum_filter1

Evaluation

Benchmarked 2 different programs to examine how logical complexity impacts performance.

  1. Sum of all elements in an array
  2. Sum of elements in array if element >= 100

Each program runs over a length 65546 integer array. Times are averaged over 1000s of iterations.

About

πŸ“Š Comparing C Intel vector intrinsics vs. Numba + LLVM's auto-vectorization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published