Skip to content

[FEA]: Support for finding binary utilities like nvdisasm #762

Closed

Description

@gmarkall

Is this a duplicate?

Area

cuda.pathfinder

Is your feature request related to a problem? Please describe.

(Marked "not sure" for the area because there's no pathfinder choice)

In Numba-CUDA we have NVIDIA/numba-cuda#13 which attempts to improve the logic for finding nvdisasm. However, as we're leaning on pathfinder for all the path-finding logic now, it'd be nice to also be able to locate nvdisasm and other tools with pathfinder. Is this something that's planned / in-scope?

Describe the solution you'd like

Something like

nvdisasm_path = cuda.pathfinder.binary_utility('nvdisasm')
cuobjdump_path = cuda.pathfinder.binary_utility('cuobjdump')
# ... etc ...

to get the paths of the best choice for running these utilities.

Describe alternatives you've considered

Continuing to attempt to locate nvdisasm in Numba-CUDA. This is OK to do, but I wonder if this is a common need - I think I have seen people asking about doing similar things for other libraries / purposes when they need to produce SASS for user inspection.

Additional context

No response

Activity

  1. self-assigned this
    on Jul 18, 2025
  2. changed the title [-][FEA]: Support for finding utilities like `nvdisasm`[/-] [+][FEA]: Support for finding binary utilities like `nvdisasm`[/+] on Sep 26, 2025
  3. cpcloud commented on Feb 2, 2026

    @cpcloud
    Contributor

    This doesn't seem like it's on the critical path of #1036 anymore. There are no uses of nvdiasm or cuobjdump in numba-cuda AFAICT from rg-ing around the repo.

  4. cpcloud commented on Feb 2, 2026

    @cpcloud
    Contributor

    Correction: cuobjdump is still there, my rg pattern was off by 1 :)

  5. gmarkall commented on Feb 4, 2026

    @gmarkall
    ContributorAuthor

    I see uses of nvdisasm (and I believe it is used if you call k.inspect_sass() for any kernel k. Were you grepping for nvdiasm?

  6. moved this from Todo to Done in CCCLon Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

cuda.pathfinderEverything related to the cuda.pathfinder modulefeatureNew feature or request

Type

No type

Projects

  • Status
    Done

Relationships

None yet

Development

No branches or pull requests

Issue actions