Thrust

Thrust

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. Using Thrust, C++ developers can write just a few lines of code to perform GPU-accelerated sort, scan, transform, and reduction operations orders of magnitude faster than the latest multi-core CPUs. For example, the thrust::sort algorithm delivers 5x to 100x faster sorting performance than STL and TBB.

它是一种利用GPU快速的数组接口,对排序,比较的问题效率很高。

猜你喜欢

转载自blog.csdn.net/fb_help/article/details/79819811