Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Honor the CMAKE_CUDA_ARCHITECTURES argument. #81

Merged
merged 2 commits into from
Dec 14, 2023

Conversation

trivialfis
Copy link
Member

  • Set the default in setup.py instead of CMake scripts.
  • Use the more standard cmake argument instead. It helps development by accepting values like native and all.

Close #43 .

- Set the default in setup.py instead of CMake scripts.
- Use the more standard cmake argument instead. It helps development by accepting values
  like `native` and `all`.
setup.py Outdated
@@ -26,6 +26,7 @@

cmake_flags = [
f"-Dlegate_core_ROOT:STRING={legate_dir}",
"-DCMAKE_CUDA_ARCHITECTURES=70", # volta
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this perhaps be native?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would be my preference, I just copied the default from the CMake script, will change.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@RAMitchell RAMitchell merged commit 8b30758 into rapidsai:main Dec 14, 2023
4 checks passed
@trivialfis trivialfis deleted the cmake branch December 14, 2023 10:24
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.

Honor CMAKE_CUDA_ARCHITECTURES
2 participants