Read from uninitialised texture in iterated version of bilateralFilter
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 9.6k
- Forks
- 2.4k
- Avg merge
- 53m
- Merged PRs (30d)
- 1
Description
Shouldn’t this say if (i)? This way rgbaTexdTemp is read from uninitialised in the first iteration.
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
Open Samples/5_Domain_Specific/bilateralFilter/bilateral_kernel.cu at the linked line and trace the iterated bilateral-filter loop, especially the first iteration and rgbaTexdTemp. Confirm whether the initial iteration reads that texture before it is initialized; done means the first iteration no longer performs an uninitialized read and the bilateralFilter sample still builds and runs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-vision
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100