标签: 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);
我收到“不允许输入不完整的类型”错误。