rr-debugger / rr-debugger/rr

Support using GPU via CUDA

Open
#2,173 12 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
10.7k
Forks
662
Avg merge
2d 3h
Merged PRs (30d)
2

Description

I am using standard gdb with code that has CUDA library calls. I don't need to debug the CUDA specific code, but would like the functionality of rr for the host code. Is there a way to achieve this?

Currently when using rr record on a binary that calls cuInit() I receive a CUDA_ERROR_NO_DEVICE assertion.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with rr record on a binary that calls cuInit(), and inspect how rr handles the resulting CUDA_ERROR_NO_DEVICE assertion. Done means establishing whether host-code recording can work while CUDA-specific code is ignored, then documenting or implementing the required support.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.