ermig1979 / Simd

C++ image processing and machine learning library with using of SIMD: SSE, AVX, AVX-512, AMX for x86/x64, VMX(Altivec) and VSX(Power7) for PowerPC, NEON for ARM.
http://ermig1979.github.io/Simd
MIT License
2.04k stars 407 forks source link

is there any method to watch that simd is working? #172

Closed jcyhcs closed 2 years ago

jcyhcs commented 3 years ago

hi,professor: i used your library on nvidia jetson platform for accelerate image processing , for example: resize , color space convert. those function work in my code, and i want to have a method that can watch the accelerator is working, just like JTOP tools can give that GPU was used with a chart, so , which tools can i use? or which method? please help!

ermig1979 commented 3 years ago

Hi!

The library has method Simd::PrintInfo which prints system information about SIMD extensions used on current platform.

If you want to receive more detail information about acceleration received with Simd Library I would recommend to run Simd tests (see Test application).

An example to run tests:

./Test -m=a -tt=1

And you will receive a table with information about functions acceleration (see last columns).