Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gdb pretty printer: handle non-cuda device vectors #264

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

siboehm
Copy link
Contributor

@siboehm siboehm commented Jul 24, 2023

The pretty printer assumes that all device vectors live in CUDA mem space. When using e.g. TBB, this fails with: $1 = Python Exception <class 'gdb.error'>: No symbol "cudaError" in current context.

Ported from NVIDIA/thrust#1963

@siboehm siboehm requested review from a team as code owners July 24, 2023 15:36
@siboehm siboehm requested review from miscco and removed request for a team July 24, 2023 15:36
@rapids-bot
Copy link

rapids-bot bot commented Jul 24, 2023

Pull requests from external contributors require approval from a NVIDIA organization member with write permissions or greater before CI can begin.

@miscco
Copy link
Collaborator

miscco commented Jul 24, 2023

@siboehm I cannot push to you branch. Could you please add [skip-tests] to your commit message?

We want to avoid running full Ci for jobs that have no impact on product code

@miscco miscco added feature request New feature or request. thrust For all items related to Thrust. infrastructure Shared CMake, github, etc infrastructure labels Jul 24, 2023
@siboehm siboehm force-pushed the siboehm/thrust_pretty_printers branch from d4effa9 to ea9ca78 Compare July 24, 2023 17:30
@siboehm
Copy link
Contributor Author

siboehm commented Jul 24, 2023

Done. Strange that you cannot push, this setting has been on from the beginning:
image

@miscco
Copy link
Collaborator

miscco commented Aug 15, 2023

/ok to test

@miscco miscco merged commit e1fdd13 into NVIDIA:main Aug 16, 2023
368 checks passed
@siboehm siboehm deleted the siboehm/thrust_pretty_printers branch October 4, 2023 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request. infrastructure Shared CMake, github, etc infrastructure thrust For all items related to Thrust.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants