PointCloudLibrary / PointCloudLibrary/pcl
[gpu][windows] invalid device function gpu/octree/src/cuda/octree_host.cu:64
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 11.1k
- Forks
- 4.7k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 6
Description
Hi all,
Recently, I make a test with the example from PCL source at the following path.
/gpu/examples/segmentation/src/seg.cpp
Here is the testing environment:
- Operating System: Windows 10(1909)
- IDE: Visual Studio 2017 Community
- PCL: 1.9.1(enabled GPU, CUDA)
- CMake: 3.11
- CUDA Toolkit: 10.0
I configured the source code and built with VS2017 community. Everything ran well. Next, the example is testing with debug and release mode. The debug mode ran well still, but the release mode failed with exception Error: invalid device function F:/04_Software/3rdParty/PCL/pcl-pcl-1.9.1/gpu/octree/src/cuda/octree_host.cu:64.
You can take a look by the following screenshot.

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the release-mode failure with gpu/examples/segmentation/src/seg.cpp in the reported Windows, Visual Studio, PCL, CMake, and CUDA environment. Inspect the CUDA operation reported at gpu/octree/src/cuda/octree_host.cu:64 and compare the debug and release behavior. Done means the release example runs without the invalid device function exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-vision
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100