Skip to content
Snippets Groups Projects
intel-advisor.md 1.56 KiB
Newer Older
  • Learn to ignore specific revisions
  • Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    # Intel Advisor
    
    is tool aiming to assist you in vectorization and threading of your code. You can use it to profile your application and identify loops, that could benefit from vectorization and/or threading parallelism.
    
    ## Installed Versions
    
    The following versions are currently available on Salomon as modules:
    
    2016 Update 2 - Advisor/2016_update2
    
    ## Usage
    
    Your program should be compiled with -g switch to include symbol names. You should compile with -O2 or higher to see code that is already vectorized by the compiler.
    
    Profiling is possible either directly from the GUI, or from command line.
    
    To profile from GUI, launch Advisor:
    
    ```console
    $ advixe-gui
    ```
    
    Then select menu File -> New -> Project. Choose a directory to save project data to. After clicking OK, Project properties window will appear, where you can configure path to your binary, launch arguments, working directory etc. After clicking OK, the project is ready.
    
    In the left pane, you can switch between Vectorization and Threading workflows. Each has several possible steps which you can execute by clicking Collect button. Alternatively, you can click on Command Line, to see the command line required to run the analysis directly from command line.
    
    ## References
    
    
    David Hrbáč's avatar
    David Hrbáč committed
    1. [Intel® Advisor 2015 Tutorial: Find Where to Add Parallelism - C++ Sample][a]
    1. [Product page][b]
    1. [Documentation][c]
    
    [a]: https://software.intel.com/en-us/intel-advisor-tutorial-vectorization-windows-cplusplus
    [b]: https://software.intel.com/en-us/intel-advisor-xe
    [c]: (https://software.intel.com/en-us/intel-advisor-2016-user-guide-linux