Skip to content

Commit 54f44cd

Browse files
Fix logic for multitarget builds
1 parent 395871e commit 54f44cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ if ("x${DPNP_SYCL_TARGETS}" STREQUAL "x")
9999
set(_use_onemkl_interfaces_hip ON)
100100

101101
if ("x${_dpnp_sycl_targets}" STREQUAL "x")
102-
set(_dpnp_sycl_targets "amdgcn-amd-amdhsa,${_dpnp_sycl_targets}")
103-
else()
104102
set(_dpnp_sycl_targets "amdgcn-amd-amdhsa,spir64-unknown-unknown")
103+
else()
104+
set(_dpnp_sycl_targets "amdgcn-amd-amdhsa,${_dpnp_sycl_targets}")
105105
endif()
106106
endif()
107107
else()

0 commit comments

Comments
 (0)