@@ -82,27 +82,52 @@ dependencies and permissions errors.
82
82
[ Learn more] ( https://www.intel.com/content/www/us/en/develop/documentation/diagnostic-utility-user-guide/top.html ) .
83
83
84
84
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
90
108
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
95
114
96
115
97
116
## Example of Output
98
117
```
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
101
126
Using multiply kernel: multiply1
102
127
103
- Running on Intel(R) Gen9
128
+ Running on Intel(R) Iris(R) Xe Graphics
104
129
105
- Elapsed Time: 0.539631s
130
+ Elapsed Time: 0.42209s
106
131
```
107
132
108
133
## Running an Intel® ; VTune&trade ; Profiler analysis
0 commit comments