-
Notifications
You must be signed in to change notification settings - Fork 761
thrust::universal_vector, thrust::universal_ptr, and thrust::universal_allocator
#1334
Conversation
|
run tests |
20966ed to
14df646
Compare
|
run tests |
|
K now this PR changes all the backend |
14df646 to
2441dcb
Compare
|
run tests |
47b9dd8 to
2d216c0
Compare
|
run tests |
alliepiper
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gpuCI build is failing.
2d216c0 to
8433d30
Compare
|
run tests |
alliepiper
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a lot of unrelated formatting changes that make the diff really noisy, but everything looks ok other than the comment about the changelog. I'll start running tests on this soon.
|
DVS CL: 29342412 |
|
DVS is failing, lots of timeouts on DVS-SC, and libcu++ issues are causing failing prereqs for DVS-AUS. We'll try again later... |
- `thrust::universal_vector`. - `thrust::universal_ptr`. - `thrust::universal_allocator`. Change all backend fancy pointer and reference types to be aliases. Substantially refactor `thrust::reference`. Fix a bug that allowed `thrust::reference`s to const objects to be swapped: https://godbolt.org/z/r9G4nY Introduce a new `thrust::tagged_reference` type that breaks the circular template argument dependency between `thrust::pointer` and `thrust::reference`.
8433d30 to
b778e2a
Compare
|
Rebased on Rerunning DVS to see if issues are resolved, repro timeouts. DVS CL: 29371571 |
… from both hosts and devices" to fix git blame authorship. This reverts commit b778e2a.
We added the underlying abstractions for unified memory a few releases ago, but typedefs of common Thrust abstractions that use unified memory are missing.
This causes user code to have to define these things themselves or spell them out, which is unnecessarily verbose. For example:
https://github.com/NVIDIA/libcudacxx/pull/31/files#diff-4eac15e63f9ee8faca1e62f47615b520927b5ab10f42043963c84c4d493750b8R25-R39