使用内部产品时出现推力错误

时间:2019-12-09 22:19:48

标签: cuda thrust inner-product

有人可以告诉我为什么此代码无法编译吗?

int test = thrust::inner_product(thrust::make_counting_iterator(0), thrust::make_counting_iterator(0) + 3,thrust::make_counting_iterator(0),0);

我收到“不允许输入不完整的类型”错误。

0 个答案:

没有答案
相关问题