Skip to content

Commit 4d9a95b

Browse files
Turn DPCTL_TARGET_HIP into option
1 parent 06c5cd4 commit 4d9a95b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,9 @@ option(DPCTL_TARGET_CUDA
2929
"Build DPCTL to target CUDA devices"
3030
OFF
3131
)
32-
set(DPCTL_TARGET_HIP
33-
""
34-
CACHE STRING
32+
option(DPCTL_TARGET_HIP
3533
"Build DPCTL to target a HIP device architecture"
34+
""
3635
)
3736
option(DPCTL_WITH_REDIST "Build DPCTL assuming DPC++ redistributable is installed into Python prefix" OFF)
3837
option(DPCTL_OFFLOAD_COMPRESS "Build using offload section compression feature of DPC++" OFF)

0 commit comments

Comments
 (0)