Skip to content

Commit b0dd0d1

Browse files
committed
[Version, Doc] Publish new version.
1 parent 5a98393 commit b0dd0d1

File tree

9 files changed

+40
-10
lines changed

9 files changed

+40
-10
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,16 @@ Evaluation of standard C/C++ library files has been fixed.
99
### Version 0.0.3: January 23, 2017
1010

1111
Some activation issues have been fixed.
12+
13+
### Version 0.0.4: February 4, 2021
14+
15+
Provide the following analysis results:
16+
17+
- highlight parallelizable loops as well as parallelization issues,
18+
- show call graph on request,
19+
- show a summary of memory accessed in a loop and a summary of memory-related traits,
20+
- show analysis statistic on request,
21+
22+
Add some source-to-source program transformations.
23+
24+
Implement automatic program parallelization for shared memory (multicore CPU and GPU) with OpenMP and DVMH.

README.md

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,26 @@
11
# TSAR Advisor
22

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

7-
To analyse or transform source code:
7+
> __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](https://github.com/dvm-system/tsar/wiki).
88
9-
* Open C/C++ file
10-
* Use context menu or type one of available TSAR commands in the Command Palette.
11-
* If `TSAR: Analyse file` action is used the description of discovered traits is rendered in the new tab.
12-
* If some transformation is requested, the original file is changed on success.
13-
* Some diagnostic messages may be also provided.
9+
Use the context menu or type one of the available TSAR commands in the Command Palette.
10+
11+
![Start Analysis Session](images/run-advisor.png)
12+
13+
If `TSAR: Analyse file` action is used the summary of discovered traits is rendered in the new tab.
14+
15+
![Analysis Summary](images/summary.png)
16+
17+
Loops that could be parallelized are marked with green. A detailed description of accessed memory is available for each loop.
18+
19+
![Alias Tree](images/alias-tree.png)
20+
21+
You may also choose a function to view its callgraph.
22+
23+
![Call Graph](images/callgraph.png)
24+
25+
If some transformation is requested, the original file is changed on success. Some diagnostic messages may be also provided.
1426

15-
> __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](https://github.com/dvm-system/tsar/wiki).

images/alias-tree.png

78.2 KB
Loading

images/callgraph.png

82.2 KB
Loading

images/logo.png

9.06 KB
Loading

images/run-advisor.png

102 KB
Loading

images/summary.png

46.1 KB
Loading

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
"version": "0.0.4",
66
"publisher": "DVM",
77
"homepage": "http://dvm-system.org",
8+
"repository": {
9+
"type": "git",
10+
"url": "https://github.com/dvm-system/tsar-advisor"
11+
},
12+
"icon": "images/logo.png",
813
"keywords": [
914
"parallel programming",
1015
"program analysis",

src/extension.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,12 @@ export function activate(context: vscode.ExtensionContext) {
123123
title: 'TSAR Parallelization with OpenMP',
124124
run: '-clang-openmp-parallel'
125125
},
126-
{
126+
/* {
127127
command: 'tsar.parallel.dvmh',
128128
title: 'TSAR Parallelization with DVMH',
129129
run: '-clang-experimental-apc-dvmh'
130130
},
131+
*/
131132
{
132133
command: 'tsar.parallel.dvmhsm',
133134
title: 'TSAR Shared Memory Parallelization with DVMH',

0 commit comments

Comments
 (0)