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

Fixes universal_vector test failure on CTK 11.1 & gcc-6 #209

Merged
merged 1 commit into from
Jul 12, 2023

Conversation

elstehle
Copy link
Collaborator

@elstehle elstehle commented Jul 12, 2023

Description

This PR fixes a test failure in CTK 11.1 & gcc 6.
Closes #227

Checklist

  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@elstehle elstehle merged commit 5161b5e into NVIDIA:main Jul 12, 2023
368 checks passed
thrust::universal_vector<int> &in = *thrust::raw_pointer_cast(in_storage.data());
in_vector_t *in_ptr{};
cudaMallocManaged(&in_ptr, sizeof(*in_ptr));
new (in_ptr) in_vector_t(1);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just realized there's no corresponding cudaFree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[BUG]: thrust::universal_vector tests fail (C++14 on CTK 11.1 & gcc 6)
2 participants