Skip to content

Generic wrapper program, detects SIMD CPU extensions and launches an appropriate sub-process.

License

Notifications You must be signed in to change notification settings

wtsi-hpag/SIMDExtensionWrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SIMDExtensionWrapper

Generic wrapper program, detects SIMD CPU extensions and launches an appropriate sub-process.

Usage

Will launch one of: ProgramName.avx2, ProgramName.avx, ProgramName.sse42, ProgramName.sse41 or ProgramName.noext as appropriate (passing all parameters). Executables must be on the same path as the wrapper. More extensions will be added when needed.

Building

Just compile SIMDExtensionWrapper.cpp. Define the macro "ProgramName" (... -DProgramName=MyProgramName) to decorate output messages.
Tested on Linux, MacOS and Windows using clang.

Third-Party acknowledgements

stb_sprintf.h (https://github.com/nothings/stb/blob/master/stb_sprintf.h)

About

Generic wrapper program, detects SIMD CPU extensions and launches an appropriate sub-process.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published