Skip to content

OpenVec enables portable explicit vectorization on different hardware architectures

License

Notifications You must be signed in to change notification settings

pedropaislopes/OpenVec

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenVec

OpenVec enables portable explicit vectorization on different architectures

Just include "openvec.h" file in your C/C++ code and you are ready to go.

To compile code examples: make arch={intel64,knc,gccavx,neon}

If no arch is provided, gcc with SSE will be used.

To run a self tests: make arch={intel64,knc,gccavx,neon} run_selftest

The stencil* samples will allocate 3.9GB, if you want allocate less memory edit stencil_common.h and change problem size. Blocking definitions are located on stencil_common.h too.

Specific information for KNC:

For compiling: make arch=knc

And use knc_target= for running the tests on specific KNC device. For example, to run on device mic0: make arch=knc knc_target=0 run_selftest

About

OpenVec enables portable explicit vectorization on different hardware architectures

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 65.1%
  • C++ 32.1%
  • Makefile 2.8%