We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b08c0e5 commit 117f6a5Copy full SHA for 117f6a5
CMakeLists.txt
@@ -82,7 +82,6 @@ or to a specific architecture like sm_80."
82
set(HIP_TARGETS "" CACHE STRING "HIP architecture for target")
83
84
set(_dpnp_sycl_targets)
85
-set(_dpnp_cuda_arch)
86
set(_use_onemkl_interfaces OFF)
87
set(_use_onemkl_interfaces_cuda OFF)
88
set(_use_onemkl_interfaces_hip OFF)
@@ -92,6 +91,7 @@ set(_dpnp_sycl_target_link_options)
92
91
93
if ("x${DPNP_SYCL_TARGETS}" STREQUAL "x")
94
if (DPNP_TARGET_CUDA)
+ set(_dpnp_cuda_arch)
95
if(DPNP_TARGET_CUDA MATCHES "^sm_")
96
set(_dpnp_cuda_arch ${DPNP_TARGET_CUDA})
97
elseif(DPNP_TARGET_CUDA MATCHES "^(ON|TRUE|YES|Y|1)$")
0 commit comments