Skip to content

Commit 76c7bab

Browse files
Merge update_cuda_build into update_amd_build
2 parents 2e90f05 + feee948 commit 76c7bab

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

CMakeLists.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,16 @@ option(DPCTL_GENERATE_COVERAGE_FOR_PYBIND11_EXTENSIONS
2525
"Build dpctl pybind11 offloading extensions with coverage instrumentation"
2626
OFF
2727
)
28-
set(DPCTL_TARGET_CUDA
29-
""
30-
CACHE STRING
28+
string(CONCAT _desc_target_cuda
3129
"Build DPCTL to target CUDA device. "
3230
"Set to a truthy value (e.g., ON, TRUE) to use default architecture (sm_50), "
3331
"or to a specific architecture like sm_80."
3432
)
33+
set(DPCTL_TARGET_CUDA
34+
""
35+
CACHE STRING
36+
"${_desc_target_cuda}"
37+
)
3538
set(DPCTL_TARGET_HIP
3639
""
3740
CACHE STRING

0 commit comments

Comments
 (0)