Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PCL build fails with CUDA 9.1 on Ubuntu #2207

Closed
cmcmurrough opened this issue Feb 10, 2018 · 1 comment · Fixed by #2212
Closed

PCL build fails with CUDA 9.1 on Ubuntu #2207

cmcmurrough opened this issue Feb 10, 2018 · 1 comment · Fixed by #2212

Comments

@cmcmurrough
Copy link
Contributor

This is a followup to issue #2181, which fixed some, but not all CUDA 9.1 compilation issues.

PCL fails to build with CUDA 9.1 on Ubuntu with the following error...

/usr/local/cuda/include/thrust/system/cuda/detail/transform.h(118): error: no instance of function template "pcl::cuda::NormalDeviationKernel<Storage>::operator() [with Storage=pcl::cuda::Device]" matches the argument list argument types are: (thrust::detail::tuple_of_iterator_references<const pcl::cuda::PointXYZRGB &, float4 &, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>) object type is: pcl::cuda::NormalDeviationKernel<pcl::cuda::Device>

The offending line is #88 in normal_3d.cu

thrust::transform (thrust::make_zip_iterator (thrust::make_tuple (begin, output)), thrust::make_zip_iterator (thrust::make_tuple (begin, output)) + (end-begin), output, nd);

I tried to fix with "thrust::raw_reference_cast" as mentioned in issue #2181, but not luck.

@cmcmurrough
Copy link
Contributor Author

Fixed in pull request #2208

@SergioRAgostinho SergioRAgostinho added the needs: code review Specify why not closed/merged yet label Feb 12, 2018
@SergioRAgostinho SergioRAgostinho self-assigned this Feb 13, 2018
@SergioRAgostinho SergioRAgostinho removed the needs: code review Specify why not closed/merged yet label Feb 25, 2018
@SergioRAgostinho SergioRAgostinho removed their assignment Mar 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants