Thrust contains various C++ containers, iterators and algorithms.
- Included in CUDA 4.0
Documentation can be found on the Google Code page.
- Container functionality:
Manages host & device memory
- Automatic allocation and deallocation
- Simplifies data transfers
- Iterator functionality
- Behave like pointers
- Keep track of memory spaces
- Convertible to raw pointers
- Algorithms for searching, copying, reductions, merging, reordering