Skip to content

[flang][cuda] Add support for NV_CUDAFOR_DEVICE_IS_MANAGED #133778

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

Merged
merged 1 commit into from
Mar 31, 2025

Conversation

clementval
Copy link
Contributor

Add support for the environment variable NV_CUDAFOR_DEVICE_IS_MANAGED as described in the documentation: https://docs.nvidia.com/hpc-sdk/compilers/cuda-fortran-prog-guide/index.html#controlling-device-data-is-managed.

This mainly switch device allocation to managed allocation.

@clementval clementval requested a review from wangzpgi March 31, 2025 18:51
@clementval clementval merged commit 0b31f08 into llvm:main Mar 31, 2025
9 of 10 checks passed
@clementval clementval deleted the cuf_device_is_managed branch March 31, 2025 20:17
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