Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Device query updates#658

Merged
lukeyeager merged 2 commits intoNVIDIA:masterfrom
lukeyeager:device-query-updates
Mar 29, 2016
Merged

Device query updates#658
lukeyeager merged 2 commits intoNVIDIA:masterfrom
lukeyeager:device-query-updates

Conversation

@lukeyeager
Copy link
Member

Versioned DSOs
We really shouldn't ever load unversioned DSOs because you shouldn't need dev files to run any application. I ran into this issue when using nvidia-docker, which doesn't include libnvidia-ml.so by default.

Displaying GPU memory
We could just display CUDA info only - there's no clear reason to call NVML here - but I have a vague recollection of CUDA being unable to query the memory available for newer, fancier GPUs sometimes. So I'm just adding it as a fallback path.

I can't test this on Windows, but I've attempted to preserve @crohkohl's changes from #199.

@gheinrich
Copy link
Contributor

Verified with/without this commit and the code looks OK to me.

@lukeyeager lukeyeager merged commit 6b18cd0 into NVIDIA:master Mar 29, 2016
@lukeyeager lukeyeager deleted the device-query-updates branch March 29, 2016 21:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments