Skip to content

StanfordVL/egl_probe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

egl_probe

Author: Fei Xia (feixia@stanford.edu)

Adapted from (https://github.com/erwincoumans/egl_example).

Install from pypi

pip install egl_probe
python -m egl_probe.get_available_devices

Install from source

pip install -e .
python get_available_devices.py

Example output

INFO:root:Device 0 is available for rendering
INFO:root:Device 1 is available for rendering
INFO:root:Device 2 is available for rendering
INFO:root:Device 3 is available for rendering
INFO:root:Graphics Devices: [0, 1, 2, 3]
INFO:root:Graphics Device CUDA Ids: [3, 2, 1, 0]

About

A helpful module for listing available GPUs for EGL rendering.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages