allendaicool / thrust

Automatically exported from code.google.com/p/thrust
Apache License 2.0
0 stars 0 forks source link

Implement detail::permute #226

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
namespace detail
{

template<typename RandomAccessIterator, typename InputIterator>
  void permute(RandomAccessIterator first,
               RandomAccessIterator last,
               InputIterator map_first);

}

Use this to implement indirect sort et al.  Specialize it for zipped input.

Original issue reported on code.google.com by jaredhoberock on 24 Sep 2010 at 10:56

GoogleCodeExporter commented 9 years ago

Original comment by jaredhoberock on 4 Feb 2011 at 11:03

GoogleCodeExporter commented 9 years ago

Original comment by jaredhoberock on 31 Aug 2011 at 12:12

GoogleCodeExporter commented 9 years ago
The addition of uninitialized_logical_array [1] should obviate the need for a 
special-purpose permute algorithm, so I think we can close this in favor of 
issue #410.

[1] 
http://code.google.com/r/jaredhoberock-managed-layout/source/browse/thrust/detai
l/uninitialized_array.h?spec=svn846445dfa39fbc156cf60e1753d9785d1753e083&r=84644
5dfa39fbc156cf60e1753d9785d1753e083

Original comment by wnbell on 2 Nov 2011 at 10:47

GoogleCodeExporter commented 9 years ago

Original comment by jaredhoberock on 23 Jan 2012 at 10:23