Skip to content

Use dynamic symbol resolution#177

Draft
elezar wants to merge 5 commits into
NVIDIA:mainfrom
elezar:use-dynamic-symbol-resolution
Draft

Use dynamic symbol resolution#177
elezar wants to merge 5 commits into
NVIDIA:mainfrom
elezar:use-dynamic-symbol-resolution

Conversation

@elezar
Copy link
Copy Markdown
Member

@elezar elezar commented Apr 24, 2026

Instead of relying on lazy binding of symbols, this change uses a dispatch table for all NVML symbols. This should address segfaults on systems where lazy binding is not supported.

See for example:

I have run some local tests vendoring in this code into the NVIDIA Container Toolkit and will continue to test.

elezar added 5 commits April 24, 2026 22:07
Signed-off-by: Evan Lezar <elezar@nvidia.com>
Signed-off-by: Evan Lezar <elezar@nvidia.com>
Signed-off-by: Evan Lezar <elezar@nvidia.com>
Signed-off-by: Evan Lezar <elezar@nvidia.com>
…symbols

Signed-off-by: Evan Lezar <elezar@nvidia.com>
@elezar elezar requested a review from klueska April 24, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant