Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Simple C code optimisation examples: vectorisation, unroll loop, intrinsic ...

Notifications You must be signed in to change notification settings

jacquemier/optimisation

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Optimisation

Simple C code optimisation examples: vectorisation, unroll loop, intrinsic ...

How does it work ?

In these examples we compute the sum element by element of two 2D array (matrix) and store the result in a pre allocated matrix. We test different ways to compute these sums and benchmark the number of CPU cycles by element.

Compile same code with different level of optimisation

$prompt> ./buils.sh

Run and compare results

$prompt> ./run.sh

About

Simple C code optimisation examples: vectorisation, unroll loop, intrinsic ...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.