Skip to content

pathfinder: extended bin search paths with nvidia/cu13/bin#1846

Merged
rwgk merged 3 commits intoNVIDIA:mainfrom
Jlisowskyy:jlisowskyy/extend-bin-search-paths
Apr 2, 2026
Merged

pathfinder: extended bin search paths with nvidia/cu13/bin#1846
rwgk merged 3 commits intoNVIDIA:mainfrom
Jlisowskyy:jlisowskyy/extend-bin-search-paths

Conversation

@Jlisowskyy
Copy link
Copy Markdown
Contributor

Description

closes

Add nvidia/cu13/bin as an additional search path for site-packages binaries in find_nvidia_binary_utility.

Motivation

  • Enable numba-cuda to locate nvdisasm when installed via cuda-toolkit[nvdisasm], which reside under nvidia/cu13/bin

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@Jlisowskyy Jlisowskyy changed the title pathfinder: extended bin search paths to nvidia/cu13/bin pathfinder: extended bin search paths with nvidia/cu13/bin Apr 1, 2026
@github-actions

This comment has been minimized.

@rwgk rwgk added enhancement Any code-related improvements cuda.pathfinder Everything related to the cuda.pathfinder module labels Apr 1, 2026
@rwgk rwgk added this to the cuda.pathfinder next milestone Apr 1, 2026
@rwgk rwgk added the P0 High priority - Must do! label Apr 1, 2026
Copy link
Copy Markdown
Collaborator

@rwgk rwgk left a comment

Choose a reason for hiding this comment

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

Thanks @Jlisowskyy!

@rwgk rwgk enabled auto-merge (squash) April 2, 2026 08:19
@rwgk rwgk merged commit 6a7d08c into NVIDIA:main Apr 2, 2026
87 checks passed
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

Doc Preview CI
Preview removed because the pull request was closed or merged.

isVoid added a commit to NVIDIA/numba-cuda that referenced this pull request Apr 2, 2026
## Use `cuda-pathfinder` to locate `nvdisasm`
 
solves #9

Together with NVIDIA/cuda-python#1846 , this
also enables usage of the wheel-installed nvdisasm:
`nvidia-cuda-nvdisasm`.

Updates `run_nvdisasm` in `codegen.py` to use
`cuda.pathfinder.find_nvidia_binary_utility("nvdisasm")` to locate the
`nvdisasm` binary instead of assuming it is available on the system
`PATH`.

## Things done:
- This allows nvdisasm to be discovered from python package
installations without requiring it to be on `PATH`.
- Bumps the minimum cuda-pathfinder dependency from `>=1.3.4` to
>=`1.4.0` for find_nvidia_binary_utility support.

---------

Co-authored-by: Michael Wang <isVoid@users.noreply.github.com>
@rwgk
Copy link
Copy Markdown
Collaborator

rwgk commented Apr 3, 2026

Released with https://github.com/NVIDIA/cuda-python/releases/tag/cuda-pathfinder-v1.5.1 just now.

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

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants