Skip to content

Commit 17e7788

Browse files
authored
Update "How to Run Sample" on Matrix_Multiply_VTune (#2424)
1 parent eeca341 commit 17e7788

File tree

1 file changed

+38
-13
lines changed
  • Tools/VTuneProfiler/matrix_multiply_vtune

1 file changed

+38
-13
lines changed

Tools/VTuneProfiler/matrix_multiply_vtune/README.md

Lines changed: 38 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -82,27 +82,52 @@ dependencies and permissions errors.
8282
[Learn more](https://www.intel.com/content/www/us/en/develop/documentation/diagnostic-utility-user-guide/top.html).
8383

8484

85-
### On a Windows* System Using Visual Studio 2017 or newer
86-
* Open Visual Studio 2017 or later
87-
* Select Menu "File > Open > Project/Solution", find "matrix_multiply" folder and select "matrix_multiply.sln"
88-
* Select Menu "Project > Build" to build the selected configuration
89-
* Select Menu "Debug > Start Without Debugging" to run the program
85+
### On a Windows* System Using Visual Studio* Version 2019 or Newer
86+
87+
#### Command Line using MSBuild
88+
89+
1. DPCPP Configurations:
90+
- Release
91+
```
92+
MSBuild matrix_multiply.sln /t:Rebuild /p:Configuration="Release"
93+
```
94+
- Debug
95+
```
96+
MSBuild matrix_multiply.sln /t:Rebuild /p:Configuration="Debug"
97+
```
98+
2. Navigate to the Configuration folder (example: x64 folder)
99+
100+
3. Run the program:
101+
```
102+
matrix_multiply.exe
103+
```
104+
105+
#### Visual Studio IDE
106+
107+
1. Open Visual Studio 2019 or later
90108

91-
### on Windows - command line - Build the program using MSBuild
92-
- DPCPP Configurations:
93-
- Release - `MSBuild matrix_multiply.sln /t:Rebuild /p:Configuration="Release"`
94-
- Debug - `MSBuild matrix_multiply.sln /t:Rebuild /p:Configuration="Debug"`
109+
2. Select Menu "File > Open > Project/Solution", find "matrix_multiply" folder and select "matrix_multiply.sln"
110+
111+
3. Select Menu "Build > Build Solution" to build the selected configuration
112+
113+
4. After Build, select Menu "Debug > Start Without Debugging" to run the program
95114

96115

97116
## Example of Output
98117
```
99-
./matrix.dpcpp
100-
118+
Address of buf1 = 00000252964F2040
119+
Offset of buf1 = 00000252964F2180
120+
Address of buf2 = 0000025296D09040
121+
Offset of buf2 = 0000025296D091C0
122+
Address of buf3 = 000002529751B040
123+
Offset of buf3 = 000002529751B100
124+
Address of buf4 = 0000025297D20040
125+
Offset of buf4 = 0000025297D20140
101126
Using multiply kernel: multiply1
102127
103-
Running on Intel(R) Gen9
128+
Running on Intel(R) Iris(R) Xe Graphics
104129
105-
Elapsed Time: 0.539631s
130+
Elapsed Time: 0.42209s
106131
```
107132

108133
## Running an Intel® VTune™ Profiler analysis

0 commit comments

Comments
 (0)