Skip to content

Commit 117f6a5

Browse files
Apply remarks
1 parent b08c0e5 commit 117f6a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ or to a specific architecture like sm_80."
8282
set(HIP_TARGETS "" CACHE STRING "HIP architecture for target")
8383

8484
set(_dpnp_sycl_targets)
85-
set(_dpnp_cuda_arch)
8685
set(_use_onemkl_interfaces OFF)
8786
set(_use_onemkl_interfaces_cuda OFF)
8887
set(_use_onemkl_interfaces_hip OFF)
@@ -92,6 +91,7 @@ set(_dpnp_sycl_target_link_options)
9291

9392
if ("x${DPNP_SYCL_TARGETS}" STREQUAL "x")
9493
if (DPNP_TARGET_CUDA)
94+
set(_dpnp_cuda_arch)
9595
if(DPNP_TARGET_CUDA MATCHES "^sm_")
9696
set(_dpnp_cuda_arch ${DPNP_TARGET_CUDA})
9797
elseif(DPNP_TARGET_CUDA MATCHES "^(ON|TRUE|YES|Y|1)$")

0 commit comments

Comments
 (0)