Missing check for CUDA failure in example
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 9.6k
- Forks
- 2.4k
- Avg merge
- 53m
- Merged PRs (30d)
- 1
Description
checkCudaErrors(cuDeviceGetName(name, sizeof(name), cuDevice));
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/7_libNVVM/simple/simple.c around line 72 and inspect the cuDeviceGetName call. Ensure its CUDA failure is checked consistently with the surrounding example, then run the simple sample or its available validation to confirm failures are reported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 86/100