Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Avoid returning uninitialized allocator #1009

Merged
merged 1 commit into from
Jun 9, 2020

Conversation

zhihaoy
Copy link
Contributor

@zhihaoy zhihaoy commented Aug 8, 2019

This is caught by MSVC Debug build. There is no customized allocators being used, just host_vector and device_vector.

image

@brycelelbach brycelelbach requested a review from griwes October 28, 2019 08:06
@brycelelbach
Copy link
Collaborator

Submitted to internal CI.

@griwes to review.

thrust/detail/allocator/allocator_traits.inl Outdated Show resolved Hide resolved
@brycelelbach
Copy link
Collaborator

Failed internal CI; this change depends on C++11 in a part of Thrust that is not C++11 only.

@zhihaoy zhihaoy force-pushed the fix_uninitialized_allocator branch from 3c90b30 to 61df1d1 Compare October 28, 2019 19:06
@griwes griwes requested a review from brycelelbach April 4, 2020 02:25
@alliepiper
Copy link
Collaborator

I can take over landing this, @brycelelbach @griwes, unless either of you wants more changes.

@alliepiper alliepiper added the testing: gpuCI passed Passed gpuCI testing. label May 28, 2020
@alliepiper alliepiper force-pushed the fix_uninitialized_allocator branch from 61df1d1 to 5964e5e Compare June 1, 2020 19:14
@alliepiper
Copy link
Collaborator

Started internal CI: 28483956

@alliepiper alliepiper added the testing: internal ci in progress Currently testing on internal NVIDIA CI (DVS). label Jun 1, 2020
@alliepiper alliepiper dismissed brycelelbach’s stale review June 1, 2020 19:17

Changes addressed in update.

@alliepiper
Copy link
Collaborator

Tests passed -- I'll merge this in my next round of integrations.

Thanks for the patch!

@alliepiper alliepiper self-assigned this Jun 3, 2020
@alliepiper alliepiper added testing: internal ci passed Passed internal NVIDIA CI (DVS). and removed testing: internal ci in progress Currently testing on internal NVIDIA CI (DVS). labels Jun 3, 2020
@alliepiper alliepiper self-requested a review June 9, 2020 17:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
testing: gpuCI passed Passed gpuCI testing. testing: internal ci passed Passed internal NVIDIA CI (DVS).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants