我有一个device_vector A,我有一个Map M,我想用Map删除A的元素,我尝试了以下方法,但是它给出了编译错误“没有重载函数的实例.”>
void erase_value_using_map( thrust::device_vector<int>& A, thrust::device_vector(A.begin(), M
我正在考虑下面的简单代码,在这些代码中,我将thrust::host_vector<int>::iterator h_temp_iterator = h_temp.begin();和thrust::device_vector这两种情况原则上应该是对称的,所以我不明白错误信息的原因是:
Error 1 error : no suitable conversion function from "thrust::device_ptrWindows