35 #include <thrust/device_vector.h>
73 template <
typename WorkStream,
typename WorkMover>
78 template <
typename WorkStream>
99 context.m_work_queue = thrust::raw_pointer_cast( &m_work_queue.front() );
100 context.m_work_queue_size = thrust::raw_pointer_cast( &m_work_queue_size.front() );
101 context.m_partials = thrust::raw_pointer_cast( &m_partials.front() );
102 context.m_prefixes = thrust::raw_pointer_cast( &m_prefixes.front() );
103 context.m_continuations = thrust::raw_pointer_cast( &m_continuations.front() );
104 context.m_source_ids = thrust::raw_pointer_cast( &m_source_ids.front() );
105 context.m_conditions = m_condition_set.get();
106 context.m_syncblocks = m_syncblocks.get();
111 thrust::device_vector<WorkUnit> m_work_queue;
112 thrust::device_vector<uint32> m_work_queue_size;
113 thrust::device_vector<uint32> m_partials;
114 thrust::device_vector<uint32> m_prefixes;
115 thrust::device_vector<uint8> m_continuations;
116 thrust::device_vector<uint32> m_source_ids;