-
Notifications
You must be signed in to change notification settings - Fork 757
cuda/detail/malloc_and_free doesn't include thrust/system/cuda/memory.h #990
cuda/detail/malloc_and_free doesn't include thrust/system/cuda/memory.h #990
Conversation
fb874ca
to
f4f612d
Compare
@brycelelbach I don't see your review. As for your concern about calling Maybe the better question is can |
f4f612d
to
eb18e47
Compare
@griwes can you take a look at this? |
The comments inside cuda/detail/malloc_and_free.h state that they don't want to include thrust/system/cuda/memory.h as it is heavy-weight. It was inadvertently doing so through thrust/memory.h, so I have corrected this oversight.
eb18e47
to
006d700
Compare
Manually rebased on master (the only conflict was a whitespace change). |
Builds and tests pass locally:
Internal CI started in changelist 28461484. |
@robertmaynard I'm guessing you've figured something out by now, but if you still have a question about this, please open up a new issue. This patch looks fine to me, it just reduces the number of includes to match a documented concern. Unless I hear otherwise I'll merge this after the tests finish. |
No concerns, thanks for fixing these issues |
The comments inside cuda/detail/malloc_and_free.h state that
they don't want to include thrust/system/cuda/memory.h as it
is heavy-weight. It was inadvertently doing so through thrust/memory.h,
and so I have correct this oversight.