8000 fix oneCCL readme command guide issue, fix #2220 · bopeng1234/oneAPI-samples@c35b788 · GitHub
[go: up one dir, main page]

Skip to content

Commit c35b788

Browse files
committed
fix oneCCL readme command guide issue, fix oneapi-src#2220
1 parent b817a0d commit c35b788

File tree

1 file changed

+1
-1
lines changed
  • Libraries/oneCCL/oneCCL_Getting_Started

1 file changed

+1
-1
lines changed

Libraries/oneCCL/oneCCL_Getting_Started/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Users can rebuild the cpu_allreduce_test.cpp by typing "make cpu_allreduce_test"
119119
cd oneapi-toolkit/oneCCL/oneCCL_Getting_Started
120120
mkdir build
121121
cd build
122-
cmake .. -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DCOMPUTE_BACKEND=icpx
122+
cmake -E env COMPUTE_BACKEND=dpcpp cmake .. -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DCOMPUTE_BACKEND=dpcpp
123123
make sycl_allreduce_test
124124
```
125125
> NOTE: The source file "sycl_allreduce_test.cpp" will be copied from ${INTEL_ONEAPI_INSTALL_FOLDER}/ccl/latest/examples/sycl to build/src/sycl folder.

0 commit comments

Comments
 (0)
0