Skip to content

dpc_reduce update readme #161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
Sep 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 15 additions & 14 deletions DirectProgramming/DPC++/ParallelPatterns/dpc_reduce/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,18 @@ where


### Example of Output
Rank #0 runs on: lqnguyen-NUC1, uses device: Intel(R) Gen9 HD Graphics NEO
Number of steps is 1000000
Cpu Seq calc: PI =3.14 in 0.00422 seconds
Cpu TBB calc: PI =3.14 in 0.00177 seconds
dpstd native: PI =3.14 in 0.209 seconds
dpstd native2: PI =3.14 in 0.213 seconds
dpstd native3: PI =3.14 in 0.00222 seconds
dpstd native4: PI =3.14 in 0.00237 seconds
dpstd two steps: PI =3.14 in 0.0014 seconds
dpstd transform_reduce: PI =3.14 in 0.000528 seconds
mpi native: PI =3.14 in 0.548 seconds
mpi transform_reduce: PI =3.14 in 0.000498 seconds
succes

```c++
Rank #0 runs on: lqnguyen-NUC1, uses device: Intel(R) Gen9 HD Graphics NEO \
Number of steps is 1000000 \
Cpu Seq calc: PI =3.14 in 0.00422 seconds \
Cpu TBB calc: PI =3.14 in 0.00177 seconds \
dpstd native: PI =3.14 in 0.209 seconds \
dpstd native2: PI =3.14 in 0.213 seconds \
dpstd native3: PI =3.14 in 0.00222 seconds \
dpstd native4: PI =3.14 in 0.00237 seconds \
dpstd two steps: PI =3.14 in 0.0014 seconds \
dpstd transform_reduce: PI =3.14 in 0.000528 seconds \
mpi native: PI =3.14 in 0.548 seconds \
mpi transform_reduce: PI =3.14 in 0.000498 seconds \
succes \
```
1 change: 0 additions & 1 deletion Libraries/oneDNN/dpcpp_interoperability/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required(VERSION 2.8.11)
if("${CMAKE_CXX_COMPILER}" STREQUAL "")
set(CMAKE_C_COMPILER "clang")
set(CMAKE_CXX_COMPILER "dpcpp")
endif()
project (dpcpp_interoperability)
Expand Down
1 change: 0 additions & 1 deletion Libraries/oneDNN/getting_started/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required(VERSION 2.8.11)
if("${CMAKE_CXX_COMPILER}" STREQUAL "")
set(CMAKE_C_COMPILER "clang")
set(CMAKE_CXX_COMPILER "dpcpp")
endif()
project (getting_started)
Expand Down
1 change: 0 additions & 1 deletion Libraries/oneDNN/simple_model/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required(VERSION 2.8.11)
if("${CMAKE_CXX_COMPILER}" STREQUAL "")
set(CMAKE_C_COMPILER "clang")
set(CMAKE_CXX_COMPILER "dpcpp")
endif()
project (simple_model)
Expand Down