Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use string(CONCAT) for multi-line DPCTL_TARGET_CUDA description
  • Loading branch information
vlad-perevezentsev committed Jun 6, 2025
commit feee9480e7b3be359023acab51937b0145ab501f
9 changes: 6 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,16 @@ option(DPCTL_GENERATE_COVERAGE_FOR_PYBIND11_EXTENSIONS
"Build dpctl pybind11 offloading extensions with coverage instrumentation"
OFF
)
set(DPCTL_TARGET_CUDA
""
CACHE STRING
string(CONCAT _desc_target_cuda
"Build DPCTL to target CUDA device. "
"Set to a truthy value (e.g., ON, TRUE) to use default architecture (sm_50), "
"or to a specific architecture like sm_80."
)
set(DPCTL_TARGET_CUDA
""
CACHE STRING
"${_desc_target_cuda}"
)
set(DPCTL_TARGET_HIP
""
CACHE STRING
Expand Down