Skip to content

Commit 6f056ca

Browse files
authored
update compiler flag (#1661)
- Use `-flink-huge-device-code` instead of `-fsycl-link-huge-device-code`
1 parent 50b177d commit 6f056ca

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

dpnp/backend/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ endif()
8282
target_link_options(${_trgt} PUBLIC -fsycl-device-code-split=per_kernel)
8383
if(UNIX)
8484
# this option is support on Linux only
85-
target_link_options(${_trgt} PUBLIC -fsycl-link-huge-device-code)
85+
target_link_options(${_trgt} PUBLIC -flink-huge-device-code)
8686
endif()
8787

8888
if(DPNP_GENERATE_COVERAGE)

dpnp/backend/extensions/blas/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ endif()
6868
target_link_options(${python_module_name} PUBLIC -fsycl-device-code-split=per_kernel)
6969
if (UNIX)
7070
# this option is support on Linux only
71-
target_link_options(${python_module_name} PUBLIC -fsycl-link-huge-device-code)
71+
target_link_options(${python_module_name} PUBLIC -flink-huge-device-code)
7272
endif()
7373

7474
if (DPNP_GENERATE_COVERAGE)

dpnp/backend/extensions/lapack/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ endif()
7878
target_link_options(${python_module_name} PUBLIC -fsycl-device-code-split=per_kernel)
7979
if (UNIX)
8080
# this option is support on Linux only
81-
target_link_options(${python_module_name} PUBLIC -fsycl-link-huge-device-code)
81+
target_link_options(${python_module_name} PUBLIC -flink-huge-device-code)
8282
endif()
8383

8484
if (DPNP_GENERATE_COVERAGE)

dpnp/backend/extensions/sycl_ext/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ endif()
6363
target_link_options(${python_module_name} PUBLIC -fsycl-device-code-split=per_kernel)
6464
if (UNIX)
6565
# this option is support on Linux only
66-
target_link_options(${python_module_name} PUBLIC -fsycl-link-huge-device-code)
66+
target_link_options(${python_module_name} PUBLIC -flink-huge-device-code)
6767
endif()
6868

6969
if (DPNP_GENERATE_COVERAGE)

dpnp/backend/extensions/vm/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ endif()
6363
target_link_options(${python_module_name} PUBLIC -fsycl-device-code-split=per_kernel)
6464
if (UNIX)
6565
# this option is support on Linux only
66-
target_link_options(${python_module_name} PUBLIC -fsycl-link-huge-device-code)
66+
target_link_options(${python_module_name} PUBLIC -flink-huge-device-code)
6767
endif()
6868

6969
if (DPNP_GENERATE_COVERAGE)

0 commit comments

Comments
 (0)