技术栈

thrust

刘好念
1 年前
c++·cuda·thrust
[CUDA] 使用thrust::sort()函数排序本文介绍了如何使用thrust::sort()函数对device_vector<int>容器,或者int*指针表示的内存(显存)处的数据进行排序。