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

Add CMake option for verbose ptxas output #851

Merged
merged 1 commit into from
May 11, 2022
Merged

Add CMake option for verbose ptxas output #851

merged 1 commit into from
May 11, 2022

Conversation

ptheywood
Copy link
Member

Adds the VERBOSE_PTXAS cmake configuration option, which enabled verbose PTXAS output during compilation when opted in.

Most users will not need this, but as I keep having to make this change to look at reg usage during compilation, it's now a PR.

@ptheywood ptheywood requested a review from Robadob May 10, 2022 10:42
Copy link
Member

@Robadob Robadob left a comment

Choose a reason for hiding this comment

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

Seems fine, haven't tested it.

More general option would be to expose CMake vars to manually specify additional args to each of the compiler stages.

Copy link
Member

@Robadob Robadob left a comment

Choose a reason for hiding this comment

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

https://cmake.org/cmake/help/latest/command/mark_as_advanced.html

Possibly worthwhile (for CMake GUI users).

@ptheywood
Copy link
Member Author

Rebased on master and now marked as advanced, so it does not appear in the CMake GUI unless advanced options are enabled.

Without advanced options:

image

With advanced options:

image

Ready for merging once CI passes.

@Robadob Robadob merged commit a55303d into master May 11, 2022
@Robadob Robadob deleted the verbose-ptxas branch May 11, 2022 16:32
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.

2 participants