Skip to content

Commit 499eeed

Browse files
Allow negative values for DPCTL_TARGET_HIP
1 parent 73e4c90 commit 499eeed

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
@@ -72,7 +72,7 @@ if ("x${DPCTL_SYCL_TARGETS}" STREQUAL "x")
7272
set(_dpctl_sycl_targets "nvidia_gpu_${_dpctl_cuda_arch},spir64-unknown-unknown")
7373
endif()
7474

75-
if (NOT "x${DPCTL_TARGET_HIP}" STREQUAL "x")
75+
if (DPCTL_TARGET_HIP)
7676
if(DPCTL_TARGET_HIP MATCHES "^gfx")
7777
if(_dpctl_sycl_targets)
7878
set(_dpctl_sycl_targets "amd_gpu_${DPCTL_TARGET_HIP},${_dpctl_sycl_targets}")

0 commit comments

Comments
 (0)