Skip to content

Commit

Permalink
clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewdouglas committed Feb 26, 2024
1 parent 61992b8 commit f603452
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ if(BUILD_CUDA)

# Use the "real" option to build native cubin for all selections.
# Ensure we build the PTX for the latest version.
# This is similar to the "all" and "all-major" options in CMake >= 23.
# This behavior of adding a PTX (virtual) target for the highest architecture
# is similar to how the "all" and "all-major" options would behave in CMake >= 3.23.
# TODO: Consider bumping CMake requirement and using CMAKE_CUDA_ARCHITECTURES=[all | native] by default
list(REMOVE_DUPLICATES COMPUTE_CAPABILITY)
list(SORT COMPUTE_CAPABILITY COMPARE NATURAL)
Expand Down

0 comments on commit f603452

Please sign in to comment.