Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Commit 56ca650

Browse files
Use icpx -fsycl instead of dpcpp per compiler warning in oneAPI DPC++ 2023
1 parent 331dcf2 commit 56ca650

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kde_setuptools/setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020

2121
class custom_build_ext(build_ext):
2222
def build_extensions(self):
23-
self.compiler.set_executable("compiler_so", "dpcpp -fPIC")
24-
self.compiler.set_executable("compiler_cxx", "dpcpp -fPIC")
25-
self.compiler.set_executable("linker_so", "dpcpp -shared -fpic -fsycl-device-code-split=per_kernel")
23+
self.compiler.set_executable("compiler_so", "icpx -fsycl -fPIC")
24+
self.compiler.set_executable("compiler_cxx", "icpx -fsycl -fPIC")
25+
self.compiler.set_executable("linker_so", "icpx -fsycl -shared -fpic -fsycl-device-code-split=per_kernel")
2626
build_ext.build_extensions(self)
2727

2828
ext_modules = [

0 commit comments

Comments
 (0)