Why is my pcl cuda code running in CPU instead of GPU?
问题 I have a code where I use the pcl/gpu namespace: pcl::gpu::Octree::PointCloud clusterCloud; clusterCloud.upload(cloud_filtered->points); pcl::gpu::Octree::Ptr octree_device (new pcl::gpu::Octree); octree_device->setCloud(clusterCloud); octree_device->build(); /*tree->setCloud (clusterCloud);*/ // Create the cluster extractor object for the planar model and set all the parameters std::vector<pcl::PointIndices> cluster_indices; pcl::gpu::EuclideanClusterExtraction ec; ec.setClusterTolerance (0