Skip to content

Investigating performances of Stencil Matrix Operations

License

Notifications You must be signed in to change notification settings

pyccel/poc-stencil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

poc-stencil

Investigating performances of Stencil Matrix Operations

In order to run these tests, you need

  • compile the core file (stencil_vx.py) with pyccel
  • run the test_stencil.py file

Compiling the core file with pyccel

run

pyccel stencil_v0.py --flags="-O3 -march=native -mtune=native -mavx -ffast-math" 
pyccel stencil_v1.py --flags="-O3 -march=native -mtune=native -mavx -ffast-math" 
pyccel stencil_v2.py --flags="-O3 -march=native -mtune=native -mavx -ffast-math" 

Compiling the core file with pyccel using OpenMP

run

pyccel stencil_v0.py --flags="-O3 -march=native -mtune=native -mavx -ffast-math"  --openmp
pyccel stencil_v1.py --flags="-O3 -march=native -mtune=native -mavx -ffast-math"  --openmp
pyccel stencil_v2.py --flags="-O3 -march=native -mtune=native -mavx -ffast-math"  --openmp

Adding new versions

Whenever you add a new version (vx), put it in a new file stencil_vx.py then following the same steps as before. The test_stencil.py file will be unique and should provide an output as a table, for the different versions, flags etc

About

Investigating performances of Stencil Matrix Operations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages