
ThrustNVIDIA
Thrust is a powerful library of parallel algorithms and data structures. Thrust provides a flexible, high-level interface for GPU programming that greatly enhances developer productivity.
Vendor
NVIDIA
Company Website




Product details
Thrust is a powerful library of parallel algorithms and data structures designed to enhance developer productivity in GPU programming. Thrust provides a flexible, high-level interface for GPU programming, allowing C++ developers to write just a few lines of code to perform GPU-accelerated operations such as sort, scan, transform, and reduction. These operations are performed orders of magnitude faster than the latest multi-core CPUs, making Thrust an essential tool for high-performance computing.
Features
- STL-Like Templated Interfaces: Thrust provides STL-like templated interfaces to several algorithms and data structures designed for high-performance heterogeneous parallel computing.
- High Performance: The thrust::sort algorithm delivers 5x to 100x faster sorting performance than STL and TBB.
- Flexible and High-Level Interface: Allows developers to focus on algorithm development without worrying about low-level functionality like memory access and allocation.
- GPU-Accelerated Operations: Enables GPU-accelerated sort, scan, transform, and reduction operations.
- Integration with CUDA Toolkit: Thrust is included in the CUDA Toolkit, providing a production-tested version for developers.
Benefits
- Enhanced Developer Productivity: Simplifies GPU programming, allowing developers to write fewer lines of code for complex operations.
- Significant Performance Gains: Delivers orders of magnitude faster performance for sorting and other operations compared to multi-core CPUs.
- Ease of Use: Provides a high-level interface that abstracts low-level details, making it easier for developers to implement GPU-accelerated algorithms.
- Broad Applicability: Suitable for a wide range of tasks, from simple cashflow generation to complex computations with Libor market models, variable annuities, or CVA adjustments.