34 #include <thrust/device_vector.h>
35 #include <thrust/sort.h>
45 template <
typename Iterator>
50 typedef typename thrust::iterator_traits<Iterator>::value_type value_type;
55 thrust::device_vector<value_type> debug_copy_dvec( n );
59 debug_copy_dvec.begin() );
62 thrust::sort( debug_copy_dvec.begin(), debug_copy_dvec.end() );
65 thrust::host_vector<value_type> debug_copy_hvec( debug_copy_dvec );
68 const char* ptr = (
const char*)thrust::raw_pointer_cast( &debug_copy_hvec.front() );
69 return crcCalc( ptr,
sizeof(value_type)*n );
76 SeedHitDequeArray& hit_deques,