Skip to content

Conversation

@ayermolo
Copy link

@ayermolo ayermolo commented Nov 4, 2025

Adds a flag numba_debug to enable NUMBA CUDA debug capabilities.

Adds a flag numba_debug. When used with debug flag enables debug support
in numba cuda.
@copy-pr-bot
Copy link
Contributor

copy-pr-bot bot commented Nov 4, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@cpcloud
Copy link
Contributor

cpcloud commented Nov 4, 2025

@ayermolo Thanks! Can you add a test for this? Adding to an existing test is also fine.

@ayermolo
Copy link
Author

ayermolo commented Nov 4, 2025

@ayermolo Thanks! Can you add a test for this? Adding to an existing test is also fine.

Thanks for taking a look.

I thought I did to cuda_core/tests/test_program.py

Is there a better one?

Copy link
Member

@leofang leofang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Q: What is the reason that we need this? How is --numba-debug consumed (and by whom)?

@ayermolo
Copy link
Author

ayermolo commented Nov 5, 2025

Q: What is the reason that we need this? How is --numba-debug consumed (and by whom)?

It will be consumed by nvrtc library, and used by: https://github.com/numba/numba/blob/main/numba/cuda/cudadrv/nvrtc.py

@leofang leofang requested review from cpcloud and gmarkall November 7, 2025 21:24
@leofang leofang added enhancement Any code-related improvements triage Needs the team's attention cuda.core Everything related to the cuda.core module labels Nov 7, 2025
@leofang
Copy link
Member

leofang commented Nov 8, 2025

/ok to test 3aed97d

@leofang leofang added this to the cuda.core beta 9 milestone Nov 8, 2025
@leofang leofang added P0 High priority - Must do! and removed triage Needs the team's attention labels Nov 8, 2025
@github-actions
Copy link

github-actions bot commented Nov 8, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cuda.core Everything related to the cuda.core module enhancement Any code-related improvements P0 High priority - Must do!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants