62
edits
Changes
→Intel Adviser (Dmytro)
==Intel Adviser (Dmytro)==
'''What can the Advisor Do:'''
1. Vectorization Optimization
* Use the cache-aware Roofline Analysis to identify high-impact, under-optimized loops and get tips for faster code.
* Quickly find what's blocking vectorization where it matters most to make the best use of your machine's Single Instruction Multiple Data (SIMD) capabilities.
* Identify where it is safe to force compiler vectorization.
* Use memory analysis to find inefficient memory usage.
2. Thread Prototyping
* Use Threading Advisor to fast-track threading design.
* Its simple workflow lets you quickly model threading designs while delivering the data and tips you need to make faster design and optimization decisions.
(More could be found https://software.intel.com/en-us/advisor)
----
Our Hotspot analysis from VTune(see previous section for details on VTune) identified that there are two bottlenecks in our code:
* imageToScalfile:///home/dmytro/Pictures/Screenshot%20from%202018-11-29%2017-42-19.png
eNaive - the main conversion function that creates image drawn with characters from the original buffer.
* calcLum - averages out the RGB values of a single pixel to convert it to grey scale.
See the details below: