Skip to content

Commit 4d64a8c

Browse files
authored
Fix TBB-Async-Sycl README format (#2415)
Signed-off-by: Fong Jian Tan <[email protected]>
1 parent b40da5a commit 4d64a8c

File tree

1 file changed

+33
-23
lines changed

1 file changed

+33
-23
lines changed

Libraries/oneTBB/tbb-async-sycl/README.md

Lines changed: 33 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -58,40 +58,50 @@ To learn more about the extensions, see the
5858
[Using Visual Studio Code with Intel® oneAPI Toolkits User Guide](https://www.intel.com/content/www/us/en/develop/documentation/using-vs-code-with-intel-oneapi/top.html).
5959

6060
### On a Linux System
61-
* Build tbb-async-sycl program
62-
cd tbb-async-sycl &&
63-
mkdir build &&
64-
cd build &&
65-
cmake .. &&
66-
make VERBOSE=1
67-
68-
* Run the program
69-
make run
70-
71-
* Clean the program
72-
make clean
61+
* Build tbb-async-sycl program
62+
```
63+
cd tbb-async-sycl &&
64+
mkdir build &&
65+
cd build &&
66+
cmake .. &&
67+
make VERBOSE=1
68+
```
69+
70+
* Run the program
71+
```
72+
make run
73+
```
74+
75+
* Clean the program
76+
```
77+
make clean
78+
```
7379

7480
### On a Windows System
7581

7682
#### Command line using MSBuild
77-
* MSBuild tbb-async-sycl.sln /t:Rebuild /p:Configuration="debug"
83+
```
84+
MSBuild tbb-async-sycl.sln /t:Rebuild /p:Configuration="debug"
85+
```
7886

7987
#### Visual Studio IDE
80-
* Open Visual Studio 2017
81-
* Select Menu "File > Open > Project/Solution", find "tbb-async-sycl" folder and select "tbb-async-sycl.sln"
82-
* Select Menu "Project > Build" to build the selected configuration
83-
* Select Menu "Debug > Start Without Debugging" to run the program
88+
* Open Visual Studio 2017
89+
* Select Menu "File > Open > Project/Solution", find "tbb-async-sycl" folder and select "tbb-async-sycl.sln"
90+
* Select Menu "Project > Build" to build the selected configuration
91+
* Select Menu "Debug > Start Without Debugging" to run the program
8492

8593
## Running the Sample
8694

8795
### Example of Output
8896

89-
start index for GPU = 0; end index for GPU = 8
90-
start index for CPU = 8; end index for CPU = 16
91-
Heterogenous triad correct.
92-
c_array: 0 1.5 3 4.5 6 7.5 9 10.5 12 13.5 15 16.5 18 19.5 21 22.5
93-
c_gold : 0 1.5 3 4.5 6 7.5 9 10.5 12 13.5 15 16.5 18 19.5 21 22.5
94-
Built target run
97+
```
98+
start index for GPU = 0; end index for GPU = 8
99+
start index for CPU = 8; end index for CPU = 16
100+
Heterogenous triad correct.
101+
c_array: 0 1.5 3 4.5 6 7.5 9 10.5 12 13.5 15 16.5 18 19.5 21 22.5
102+
c_gold : 0 1.5 3 4.5 6 7.5 9 10.5 12 13.5 15 16.5 18 19.5 21 22.5
103+
Built target run
104+
```
95105

96106
### Troubleshooting
97107
If an error occurs, troubleshoot the problem using the Diagnostics Utility for Intel® oneAPI Toolkits.

0 commit comments

Comments
 (0)