33 #include <thrust/device_vector.h>
65 WorkQueue() : m_capacity(32*1024), m_separate_loads(false) {}
77 template <
typename WorkStream>
82 template <
typename WorkStream,
typename WorkMover>
97 context.m_work_queue = thrust::raw_pointer_cast( &m_work_queue.front() );
98 context.m_continuations = thrust::raw_pointer_cast( &m_continuations.front() );
103 bool m_separate_loads;
104 thrust::device_vector<WorkUnit> m_work_queue;
105 thrust::device_vector<uint32> m_continuations;