Skip to content

Commit bc81605

Browse files
authored
Remove use of -flink-huge-device-code link option (#1789)
1 parent 4da3061 commit bc81605

File tree

5 files changed

+0
-20
lines changed

5 files changed

+0
-20
lines changed

dpnp/backend/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,6 @@ endif()
8080
# endif()
8181

8282
target_link_options(${_trgt} PUBLIC -fsycl-device-code-split=per_kernel)
83-
if(UNIX)
84-
# this option is support on Linux only
85-
target_link_options(${_trgt} PUBLIC -flink-huge-device-code)
86-
endif()
8783

8884
if(DPNP_GENERATE_COVERAGE)
8985
target_link_options(${_trgt} PRIVATE -fprofile-instr-generate -fcoverage-mapping)

dpnp/backend/extensions/blas/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,6 @@ else()
6666
endif()
6767

6868
target_link_options(${python_module_name} PUBLIC -fsycl-device-code-split=per_kernel)
69-
if (UNIX)
70-
# this option is support on Linux only
71-
target_link_options(${python_module_name} PUBLIC -flink-huge-device-code)
72-
endif()
7369

7470
if (DPNP_GENERATE_COVERAGE)
7571
target_link_options(${python_module_name} PRIVATE -fprofile-instr-generate -fcoverage-mapping)

dpnp/backend/extensions/lapack/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,6 @@ else()
7777
endif()
7878

7979
target_link_options(${python_module_name} PUBLIC -fsycl-device-code-split=per_kernel)
80-
if (UNIX)
81-
# this option is support on Linux only
82-
target_link_options(${python_module_name} PUBLIC -flink-huge-device-code)
83-
endif()
8480

8581
if (DPNP_GENERATE_COVERAGE)
8682
target_link_options(${python_module_name} PRIVATE -fprofile-instr-generate -fcoverage-mapping)

dpnp/backend/extensions/sycl_ext/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ else()
6161
endif()
6262

6363
target_link_options(${python_module_name} PUBLIC -fsycl-device-code-split=per_kernel)
64-
if (UNIX)
65-
# this option is support on Linux only
66-
target_link_options(${python_module_name} PUBLIC -flink-huge-device-code)
67-
endif()
6864

6965
if (DPNP_GENERATE_COVERAGE)
7066
target_link_options(${python_module_name} PRIVATE -fprofile-instr-generate -fcoverage-mapping)

dpnp/backend/extensions/vm/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ else()
6161
endif()
6262

6363
target_link_options(${python_module_name} PUBLIC -fsycl-device-code-split=per_kernel)
64-
if (UNIX)
65-
# this option is support on Linux only
66-
target_link_options(${python_module_name} PUBLIC -flink-huge-device-code)
67-
endif()
6864

6965
if (DPNP_GENERATE_COVERAGE)
7066
target_link_options(${python_module_name} PRIVATE -fprofile-instr-generate -fcoverage-mapping)

0 commit comments

Comments
 (0)