We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73ef7b8 commit c9a6384Copy full SHA for c9a6384
README.md
@@ -147,7 +147,7 @@ Examples of building Cython extensions with DPC++ compiler, that interoperate
147
with dpctl can be found in folder `cython`.
148
149
Each example in `cython` folder can be built using
150
-`CC=clang CXX=dpcpp python setup.py build_ext --inplace`.
+`CC=icx CXX=dpcpp python setup.py build_ext --inplace`.
151
Please refer to `run.py` script in respective folders to execute extensions.
152
153
Tests
docs/docfiles/user_guides/QuickStart.rst
@@ -208,7 +208,7 @@ After setting up dpctl you can try out the Python examples as follows:
208
The dpctl repository also provides a set of examples of building Cython
209
extensions with DPC++ compiler, that interoperate with dpctl. These examples are
210
located under *examples/cython*. Each example in the folder can be built using
211
-``CC=clang CXX=dpcpp python setup.py build_ext --inplace``. Please refer to
+``CC=icx CXX=dpcpp python setup.py build_ext --inplace``. Please refer to
212
``run.py`` script in respective folders to execute the Cython extension
213
examples.
214
@@ -252,7 +252,7 @@ library.
252
-DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} \
253
-DCMAKE_PREFIX_PATH=${INSTALL_PREFIX} \
254
-DDPCPP_INSTALL_DIR=${DPCPP_ROOT} \
255
- -DCMAKE_C_COMPILER:PATH=${DPCPP_ROOT}/bin/clang \
+ -DCMAKE_C_COMPILER:PATH=${DPCPP_ROOT}/bin/icx \
256
-DCMAKE_CXX_COMPILER:PATH=${DPCPP_ROOT}/bin/dpcpp \
257
-DDPCTL_ENABLE_LO_PROGRAM_CREATION=ON \
258
-DDPCTL_BUILD_CAPI_TESTS=ON \
dpctl-capi/cmake/modules/FindIntelSycl.cmake
@@ -63,7 +63,7 @@ else()
63
endif()
64
65
# We will extract the version information from the compiler
66
-set(clangxx_cmd "${IntelSycl_ROOT}/bin/clang++")
+set(clangxx_cmd "${CMAKE_CXX_COMPILER}")
67
set(clangxx_arg "--version")
68
69
# Check if dpcpp is available
dpctl-capi/dbg_build.bat
@@ -26,7 +26,7 @@ cmake -G Ninja ^
26
"-DCMAKE_INSTALL_PREFIX=%INSTALL_PREFIX%" ^
27
"-DCMAKE_PREFIX_PATH=%INSTALL_PREFIX%" ^
28
"-DDPCPP_INSTALL_DIR=%DPCPP_HOME%" ^
29
- "-DCMAKE_C_COMPILER:PATH=%DPCPP_HOME%\bin\clang-cl.exe" ^
+ "-DCMAKE_C_COMPILER:PATH=%DPCPP_HOME%\bin\icx.exe" ^
30
"-DCMAKE_CXX_COMPILER:PATH=%DPCPP_HOME%\bin\dpcpp.exe" ^
31
"-DCMAKE_LINKER:PATH=%DPCPP_HOME%\bin\lld-link.exe" ^
32
"-DDPCTL_BUILD_CAPI_TESTS=ON" ^
dpctl-capi/dbg_build.sh
@@ -9,7 +9,7 @@ rm -rf ${INSTALL_PREFIX}
9
10
cmake \
11
-DCMAKE_BUILD_TYPE=Debug \
12
- -DCMAKE_C_COMPILER=clang \
+ -DCMAKE_C_COMPILER=icx \
13
-DCMAKE_CXX_COMPILER=dpcpp \
14
15
examples/cython/sycl_buffer/README.md
@@ -14,7 +14,7 @@ Example illustrates compiling SYCL extension, linking to oneMKL.
```
16
# make sure oneAPI is activated, $ONEAPI_ROOT must be set
17
-CC=clang CXX=dpcpp python setup.py build_ext --inplace
+CC=icx CXX=dpcpp python setup.py build_ext --inplace
18
19
20
examples/cython/usm_memory/README.md
@@ -8,7 +8,7 @@ Make sure oneAPI is activated. Environment variable `$ONEAPI_ROOT` must be set.
8
-$ CC=clang CXX=dpcpp LD_SHARED="dpcpp -shared" \
+$ CC=icx CXX=dpcpp LD_SHARED="dpcpp -shared" \
CXXFLAGS=-fno-sycl-early-optimizations python setup.py build_ext --inplace
scripts/build_backend.py
@@ -86,7 +86,7 @@ def build_backend(
86
"-DDPCTL_DPCPP_HOME_DIR=" + DPCPP_ROOT,
87
"-DDPCTL_DPCPP_FROM_ONEAPI=ON",
88
"-DCMAKE_C_COMPILER:PATH="
89
- + os.path.join(DPCPP_ROOT, "bin", "clang"),
+ + os.path.join(DPCPP_ROOT, "bin", "icx"),
90
"-DCMAKE_CXX_COMPILER:PATH="
91
+ os.path.join(DPCPP_ROOT, "bin", "dpcpp"),
92
]
@@ -164,7 +164,7 @@ def build_backend(
164
165
166
167
- + os.path.join(DPCPP_ROOT, "bin", "clang-cl.exe"),
+ + os.path.join(DPCPP_ROOT, "bin", "icx.exe"),
168
169
+ os.path.join(DPCPP_ROOT, "bin", "dpcpp.exe"),
170
scripts/build_for_develop.bat
@@ -31,7 +31,7 @@ cmake -G Ninja ^
33
"-DDPCPP_ROOT=%DPCPP_ROOT%" ^
34
- "-DCMAKE_C_COMPILER:PATH=%DPCPP_ROOT%\bin\clang-cl.exe" ^
+ "-DCMAKE_C_COMPILER:PATH=%DPCPP_ROOT%\bin\icx.exe" ^
35
"-DCMAKE_CXX_COMPILER:PATH=%DPCPP_ROOT%\bin\dpcpp.exe" ^
36
"-DBUILD_CAPI_TESTS=%_BUILD_CAPI_TEST%" ^
37
"%cd%\..\dpctl-capi"
@@ -57,7 +57,7 @@ xcopy dpctl-capi\include dpctl\include /E /Y
57
REM required by _sycl_core(dpctl)
58
set "DPCTL_SYCL_INTERFACE_LIBDIR=dpctl"
59
set "DPCTL_SYCL_INTERFACE_INCLDIR=dpctl\include"
60
-set "CC=clang-cl.exe"
+set "CC=icx.exe"
61
set "CXX=dpcpp.exe"
62
python setup.py clean --all
0 commit comments