Skip to content

Conversation

@ZedongPeng
Copy link
Collaborator

This PR updates the build system to improve CUDA architecture targeting and corrects the documentation for build requirements.

Changes

1. CMake Configuration (CMakeLists.txt)

  • Logic Update: Introduced a check for CMAKE_VERSION.
  • CMake ≥ 3.23: Now sets CMAKE_CUDA_ARCHITECTURES to all. This automatically targets all supported real and virtual architectures, simplifying future maintenance.
  • CMake < 3.23: Added a manual fallback list (60 through 90) and explicitly added 90-virtual. This ensures forward compatibility with future GPUs (via PTX JIT) when building with older CMake versions.

2. Documentation (README.md)

  • Requirements: Updated the "Build Tools" section to specify CMake (≥ 3.20) instead of 3.22, aligning the documentation with the actual project requirements.

@ZedongPeng ZedongPeng merged commit 4b214ca into MIT-Lu-Lab:main Dec 10, 2025
LucasBoTang pushed a commit to LucasBoTang/cuPDLPx that referenced this pull request Dec 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant