Skip to content

Test numba_debug in the libNVVM path too? #1287

Closed

Description

@leofang

Follow-up of #1216. We currently test the NVRTC path, but cuda.core.Program also covers libNVVM (and nvJitLink!) and we should get them tested too.

Activity

  1. added
    triageNeeds the team's attention
    testImprovements or additions to tests
    cuda.coreEverything related to the cuda.core module
    on Nov 25, 2025
  2. leofang commented on Nov 25, 2025

    @leofang
    MemberAuthor

    @ayermolo is this something you can help with? 🙂

  3. ayermolo commented on Nov 25, 2025

    @ayermolo
    Contributor

    @leofang My understanding from: https://github.com/NVIDIA/numba-cuda/blob/358f3c4a38577d5bc61e5dbe228dddd3e8505d01/numba_cuda/numba/cuda/cudadrv/nvvm.py#L229
    Is that for nvvm path Numba Cuda is not using Program python class. It sets options internally and passes them directly to:
    err = self.driver.nvvmCompileProgram(
    self._handle, self.n_options, self.option_ptrs
    )

    Since the flag is numba specific, should it still be tested on generic libNVVM path in cyda-python Program?

  4. leofang commented on Nov 25, 2025

    @leofang
    MemberAuthor

    Yes. Our eventual goal (NVIDIA/numba-cuda#128) is to replace everything that numba-cuda has internally to wrap CUDA functionalities by cuda-core, so once Program is ready for consuming and compiling NVVM IR (there is a bit of gaps that @abhilash1910 is filling in PR #981) we'll make this happen, so it is good to get this capability plumbed through (as suggested in the team sync today by @kkraus14).

  5. ayermolo commented on Nov 26, 2025

    @ayermolo
    Contributor

    NVIDIA/numba-cuda#128

    Ah IC. Thanks for elaborating. Yeah I can put it on my queue.
    What is the timeline for this?

  6. leofang commented on Dec 2, 2025

    @leofang
    MemberAuthor

    Whenever you get some free cycles I guess? 🙂

  7. added this to the cuda.core backlog milestone on Dec 2, 2025
  8. removed this from the cuda.core backlog milestone on Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

cuda.coreEverything related to the cuda.core moduletestImprovements or additions to tests

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions