We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90ed27a commit 9671b24Copy full SHA for 9671b24
1 file changed
cuda_pathfinder/cuda/pathfinder/_headers/find_nvidia_headers.py
@@ -147,15 +147,15 @@ def find_nvidia_header_directory(libname: str) -> Optional[str]:
147
hdr_dir: Optional[str] # help mypy
148
for cdir in candidate_dirs:
149
if hdr_dir := _find_under_site_packages(cdir, h_basename):
150
- return hdr_dir
+ return _abs_norm(hdr_dir)
151
152
if hdr_dir := _find_based_on_conda_layout(libname, h_basename, False):
153
154
155
candidate_dirs = supported_nvidia_headers.SUPPORTED_INSTALL_DIRS_NON_CTK.get(libname, [])
156
157
for hdr_dir in sorted(glob.glob(cdir), reverse=True):
158
if _joined_isfile(hdr_dir, h_basename):
159
160
161
return None
0 commit comments