File tree Expand file tree Collapse file tree 5 files changed +10
-11
lines changed Expand file tree Collapse file tree 5 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 85
85
- name : Build library
86
86
run : |
87
87
python setup.py build_clib
88
- CC=dpcpp python setup.py build_ext --inplace
88
+ CC=icpx python setup.py build_ext --inplace
89
89
python setup.py develop
90
90
91
91
- name : Build docs
Original file line number Diff line number Diff line change @@ -10,14 +10,14 @@ python setup.py clean
10
10
python setup.py build_clib
11
11
12
12
# inplace build
13
- CC=dpcpp python setup.py build_ext --inplace
13
+ CC=icpx python setup.py build_ext --inplace
14
14
15
15
# development build. Root privileges needed
16
16
# python setup.py develop
17
17
18
18
echo
19
19
echo =========example3==============
20
- dpcpp -g -fPIC dpnp/backend/examples/example3.cpp -Idpnp -Idpnp/backend/include -Ldpnp -Wl,-rpath=' $ORIGIN' /dpnp -ldpnp_backend_c -o example3
20
+ icpx -fsycl -g -fPIC dpnp/backend/examples/example3.cpp -Idpnp -Idpnp/backend/include -Ldpnp -Wl,-rpath=' $ORIGIN' /dpnp -ldpnp_backend_c -o example3
21
21
# LD_DEBUG=libs,bindings,symbols ./example3
22
22
./example3
23
23
Original file line number Diff line number Diff line change @@ -99,10 +99,10 @@ string(CONCAT COMMON_LINK_FLAGS
99
99
"-fsycl-device-code-split=per_kernel "
100
100
)
101
101
if (UNIX )
102
- set (CMAKE_CXX_COMPILER "dpcpp " )
102
+ set (CMAKE_CXX_COMPILER "icpx " )
103
103
# add_compile_options(-fPIC)
104
104
elseif (WIN32 )
105
- set (CMAKE_CXX_COMPILER "dpcpp " )
105
+ set (CMAKE_CXX_COMPILER "icx " )
106
106
# set(CMAKE_SHARED_LINKER_FLAGS_INIT "-fuse-ld=lld-link")
107
107
# set(CMAKE_LINKER "lld-link")
108
108
# include (Platform/Windows-Clang)
Original file line number Diff line number Diff line change 62
62
conda activate CondaCodeCov
63
63
echo ============================================ build DPNP ============================================
64
64
python setup.py build_clib
65
- CC=dpcpp python setup.py build_ext --inplace
65
+ CC=icpx python setup.py build_ext --inplace
66
66
echo ============================================ run code coverage =====================================
67
67
export OCL_ICD_FILENAMES=libintelocl.so
68
68
pytest --cov-report xml:coverage.xml --cov-report term-missing --cov=dpnp
Original file line number Diff line number Diff line change 61
61
Set compiler for the project
62
62
"""
63
63
# default variables (for Linux)
64
- _project_compiler = "dpcpp "
65
- _project_linker = "dpcpp "
64
+ _project_compiler = "icpx "
65
+ _project_linker = "icpx "
66
66
_project_cmplr_flag_sycl_devel = ["-fsycl-device-code-split=per_kernel" , "-fno-approx-func" ]
67
67
_project_cmplr_flag_sycl = ["-fsycl" ]
68
68
_project_cmplr_flag_stdcpp_static = [] # This brakes TBB ["-static-libstdc++", "-static-libgcc"]
114
114
115
115
# other OS specific
116
116
if IS_WIN :
117
- _project_compiler = "dpcpp"
118
- _project_linker = "lld-link"
119
- _project_cmplr_flag_sycl = []
117
+ _project_compiler = "icx"
118
+ _project_linker = "icx"
120
119
_project_cmplr_flag_stdcpp_static = []
121
120
_project_cmplr_flag_compatibility = []
122
121
_project_cmplr_flag_lib = ["/DLL" ]
You can’t perform that action at this time.
0 commit comments