Skip to content

Commit 5e2cc3d

Browse files
Avoid false HIP error when building for default target
1 parent 2238372 commit 5e2cc3d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,6 @@ if ("x${DPNP_SYCL_TARGETS}" STREQUAL "x")
103103
else()
104104
set(_dpnp_sycl_targets "amdgcn-amd-amdhsa,spir64-unknown-unknown")
105105
endif()
106-
else()
107-
message(FATAL_ERROR "HIP_TARGETS must be specified when using HIP backend")
108106
endif()
109107
else()
110108
set(_dpnp_sycl_targets ${DPNP_SYCL_TARGETS})

0 commit comments

Comments
 (0)