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

Work-Around: CUDA 12.1 Non-Default Codelines #3275

Conversation

ax3l
Copy link
Member

@ax3l ax3l commented Apr 26, 2023

Summary

Set AMReX_CUDA_SHOW_CODELINES to be FALSE/OFF by default for CUDA 12.1, since we know that --source-in-ptx has a NVCC regression in debug mode.

Additional background

Checklist

The proposed changes:

  • fix a bug or incorrect behavior in AMReX
  • add new capabilities to AMReX
  • changes answers in the test suite to more than roundoff level
  • are likely to significantly affect the results of downstream AMReX users
  • include documentation in the code and/or rst files, if appropriate

Set `AMReX_CUDA_SHOW_CODELINES` to be `FALSE`/`OFF` by default for
CUDA 12.1, since we know that `--source-in-ptx` has a regression
in debug mode.
@ax3l ax3l force-pushed the workaround-cuda-12.1-codelines-default branch from 433d397 to f32e857 Compare April 26, 2023 22:43
@WeiqunZhang WeiqunZhang merged commit a5a0715 into AMReX-Codes:development Apr 26, 2023
guj pushed a commit to guj/amrex that referenced this pull request Jul 13, 2023
## Summary

Set `AMReX_CUDA_SHOW_CODELINES` to be `FALSE`/`OFF` by default for CUDA
12.1, since we know that `--source-in-ptx` has a NVCC regression in
debug mode.

## Additional background

- [x] rebase after AMReX-Codes#3274 was merged
- [x] close AMReX-Codes#3215
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Internal Compiler Error: CUDA in Debug mode
2 participants