PointCloudLibrary / PointCloudLibrary/pcl
[custom] I am reading the code about gpu::octree, But I am confusing that the scan_warp funciton in gpu/octree/src/utils/scan_block.hpp
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 11.1k
- Forks
- 4.7k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 6
Description
I am reading the code about gpu::octree, But I am confusing that the scan_warp funciton in gpu/octree/src/utils/scan_block.hpp, Is there need any __syncwarp() function to ensure that the program wouldn't write the ptr[idx] after read ptr[idx] in the branch if ( lane >= 4) or others?
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 with gpu/octree/src/utils/scan_block.hpp and inspect the scan_warp function, especially the lane >= 4 branch and accesses to ptr[idx]. Check the surrounding warp-level assumptions and determine whether synchronization is required; the issue is complete when the behavior is confirmed and the required follow-up is clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-vision
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100