You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DirectProgramming/C++/ParallelPatterns/openmp_reduction/README.md
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,10 @@ The openmp_reduction sample is a simple program that calculates pi. This progra
4
4
5
5
For comprehensive instructions regarding DPC++ Programming, go to https://software.intel.com/en-us/oneapi-programming-guide and search based on relevant terms noted in the comments.
6
6
7
-
| Optimized for | Description
8
-
| OS | Linux* Ubuntu* 18.04,
7
+
8
+
| Optimized for | Description
9
+
|:--- |:---
10
+
| OS | Linux* Ubuntu* 18.04,
9
11
| Hardware | Skylake with GEN9 or newer
10
12
| Software | Intel® oneAPI DPC++ Compiler (beta)
11
13
| What you will learn | How to run openMP on cpu as well as GPU offload
@@ -61,7 +63,11 @@ There are no editable parameters for this sample.
61
63
62
64
### Example of Output (result vary depending on hardware)
Copy file name to clipboardExpand all lines: DirectProgramming/DPC++/ParallelPatterns/dpc_reduce/README.md
+13-1Lines changed: 13 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,8 @@ The dpc_reduce is a simple program that calculates pi. This program is implemen
5
5
6
6
For comprehensive instructions regarding DPC++ Programming, go to https://software.intel.com/en-us/oneapi-programming-guide and search based on relevant terms noted in the comments.
7
7
8
-
| Optimized for | Description
8
+
| Optimized for | Description
9
+
|:--- |:---
9
10
| OS | Linux* Ubuntu* 18.04,
10
11
| Hardware | Skylake with GEN9 or newer,
11
12
| Software | Intel® oneAPI DPC++ Compiler (beta)
@@ -65,12 +66,23 @@ There are no editable parameters for this sample.
65
66
66
67
### Example of Output
67
68
Number of steps is 1000000
69
+
68
70
Cpu Seq calc: PI =3.14 in 0.00348 seconds
71
+
69
72
Cpu TBB calc: PI =3.14 in 0.00178 seconds
73
+
70
74
dpstd native: PI =3.14 in 0.191 seconds
75
+
71
76
dpstd native2: PI =3.14 in 0.142 seconds
77
+
72
78
dpstd native3: PI =3.14 in 0.002 seconds
79
+
73
80
dpstd native4: PI =3.14 in 0.00234 seconds
81
+
74
82
dpstd two steps: PI =3.14 in 0.00138 seconds
83
+
75
84
dpstd transform_reduce: PI =3.14 in 0.000442 seconds
0 commit comments