Closed GoogleCodeExporter closed 8 years ago
Mind elaborating on "Thrust vectors should always fire constructors but a
vector of numeric types shouldn't for performance reasons - numeric_vector
needn't"? I'd like to understand what the issue is.
Original comment by andrew.c...@gmail.com
on 12 Sep 2010 at 11:51
There are some details in issue 180
Original comment by jaredhoberock
on 12 Sep 2010 at 11:56
Issue 131 has been merged into this issue.
Original comment by jaredhoberock
on 7 Oct 2010 at 4:16
Issue 180 has been merged into this issue.
Original comment by jaredhoberock
on 7 Oct 2010 at 4:37
Original comment by jaredhoberock
on 3 Nov 2010 at 12:18
If we make vector more conforming [1], we ought to be able to enable users to
implement uninitialized vectors themselves.
As a side effect, cusp data structures won't need to unsafely implement
themselves via thrust::detail::vector_base.
[1]
http://stackoverflow.com/questions/7218574/avoiding-default-construction-of-elem
ents-in-standard-containers
Original comment by jaredhoberock
on 28 Aug 2011 at 10:46
Forwarded to https://github.com/thrust/thrust/issues/71
Original comment by jaredhoberock
on 7 May 2012 at 9:25
Original issue reported on code.google.com by
jaredhoberock
on 11 Sep 2010 at 7:38