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 missing #include <memory> for definition of std::addressof. #1470

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Gregory-Meyer
Copy link
Contributor

detail::checked_addressof uses std::addressof; failing to #include this header results in a compiler error if it didn't happen to be #included already.

`detail::checked_addressof` uses `std::addressof`; failing to `#include`
this header results in a compiler error if it didn't happen to be
`#include`d already.
@@ -36,6 +36,9 @@
#pragma once

#include <cuda_runtime_api.h>

Copy link
Collaborator

Choose a reason for hiding this comment

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

could we move it to line 47? i am afraid nvrtc may not like this header file.

Copy link

This PR has been labeled inactive-30d due to no recent activity in the past 30 days. Please close this PR if it is no longer required. Otherwise, please respond with a comment indicating any updates. This PR will be labeled inactive-90d if there is no activity in the next 60 days.

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.

None yet

2 participants