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 feee948 commit 44f80a2Copy full SHA for 44f80a2
CMakeLists.txt
@@ -61,7 +61,7 @@ set(_dpctl_cuda_arch)
61
set(_dpctl_amd_targets)
62
63
if ("x${DPCTL_SYCL_TARGETS}" STREQUAL "x")
64
- if (NOT "x${DPCTL_TARGET_CUDA}" STREQUAL "x")
+ if (DPCTL_TARGET_CUDA)
65
if(DPCTL_TARGET_CUDA MATCHES "^sm_")
66
set(_dpctl_cuda_arch ${DPCTL_TARGET_CUDA})
67
elseif(DPCTL_TARGET_CUDA MATCHES "^(ON|TRUE|YES|Y|1)$")
0 commit comments