Skip to content

dvm-system/tsar-advisor

Repository files navigation

TSAR Advisor

This extension proposes some useful information about a program to simplify its parallelization. It also provides some useful source-to-source transformations for programs as well as automates their parallelization. The advisor currently supports C/C++ languages and based on LLVM & Clang projects.

Attention. To run the adviser the TSAR tool must be installed. It must be available in the system PATH or the path to tsar-server executable must be configured manually (see Analysis Server configuration variable for details). Details about the TSAR tool can be found in TSAR Wiki.

Use the context menu or type one of the available TSAR commands in the Command Palette.

Start Analysis Session

If TSAR: Analyse file action is used the summary of discovered traits is rendered in the new tab.

Analysis Summary

Loops that could be parallelized are marked with green. A detailed description of accessed memory is available for each loop.

Alias Tree

You may also choose a function to view its callgraph.

Call Graph

If some transformation is requested, the original file is changed on success. Some diagnostic messages may be also provided.

About

VS Code plugin to run TSAR and to explore programs.

Resources

License

Stars

Watchers

Forks

Languages