Skip to content

Commit 36926f5

Browse files
author
kevin.p.oleary
committed
New styl
1 parent 47bc84c commit 36926f5

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

Tools/Advisor/matrix_multiply_advisor/Advisor_matrix_multiply_advisor_README.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# matrix multiply sample
2-
A sample containing multiple implementations of matrix multiplication. This sample code is implemented using C++ and SYCL language for CPU and GPU.
1+
# Matrix Multiply Sample
2+
A sample containing multiple implementations of matrix multiplication. This sample code is implemented using DPC++ language for CPU and GPU.
33

44
| Optimized for | Description
55
|:--- |:---
@@ -26,7 +26,7 @@ Edit the line in multiply.h to select the version of the multiply function:
2626
#define MULTIPLY multiply1
2727

2828

29-
### on Linux
29+
### On a Linux* System
3030
To build DPC++ version:
3131
cd <sample dir>
3232
cmake .
@@ -35,7 +35,7 @@ Edit the line in multiply.h to select the version of the multiply function:
3535
Clean the program
3636
make clean
3737

38-
### on Windows - Visual Studio 2017 or newer
38+
### On a Windows* System Using Visual Studio 2017 or newer
3939
* Open Visual Studio 2017
4040
* Select Menu "File > Open > Project/Solution", find "matrix_multiply" folder and select "matrix_multiply.sln"
4141
* Select Menu "Project > Build" to build the selected configuration
@@ -47,6 +47,23 @@ Edit the line in multiply.h to select the version of the multiply function:
4747
Debug - MSBuild matrix_multiply.sln /t:Rebuild /p:Configuration="Debug"
4848

4949

50+
## Running the Sample
51+
52+
# Example of Output
53+
54+
./matrix.dpcpp
55+
Address of buf1 = 0x7f5e687eb010
56+
Offset of buf1 = 0x7f5e687eb180
57+
Address of buf2 = 0x7f5e67fea010
58+
Offset of buf2 = 0x7f5e67fea1c0
59+
Address of buf3 = 0x7f5e677e9010
60+
Offset of buf3 = 0x7f5e677e9100
61+
Address of buf4 = 0x7f5e66fe8010
62+
Offset of buf4 = 0x7f5e66fe8140
63+
Using multiply kernel: multiply1
64+
Running on Intel(R) Gen9
65+
Elapsed Time: 0.539631s
66+
5067
## Running an Intel Advisor analysis
5168
------------------------------------------
5269

0 commit comments

Comments
 (0)